Say there is HGroup which is 100px wide, and there are two images within: image_1 is 20px and image_2 is 30px.
I want image_1 to be centered within first 40 pixels (from pixel 11 to 30) and image_2 within remaining 60 pixels (from pixel 56 to 85) since they divide the whole 100-pixels wide space relatively their size.
Is there a component or property within Spark which allow to do that?
Maybe I'm wrong, but there isn't any method to do this. The instances names have been created for the example:
The coordinates x = 0, y = 0 corresponding to the upper-left corner of the images.