Getting width property of uielement, alignment...
Here is my example:
And here is description:
I wanted to make a ramp, that widens an element. So I've made one, it gets width property of a big rectangle and put it into width property of "x" icon (in my example).
No matter what would be the width of a rectangle, "x" widens to the same size.
I didn't specify the width of a rectangle, but it's not a problem, when I specify, result is the same. (but specifying that attribute is not good for me!).
So, maybe I'm doing sth wrong, or maybe there are some limitations of getting those parameters...
There's one more thing.
That problem is implemented in that example - I couldn't succesfully position elements in an uigroup.
Uigroup is aligned to the center of the screen, and I've placed "x" icon with right/top alignment. Unfortunatey, icon is in the middle of the rectangle, not in right/top corner...