For a certain purpose I need to determine the position of some elements in the screen.The elements are arranged like this:
But when I try to get the x position of an element I get strange values like this ones, using the spaces elements for reference:
The Screen1 width is 360:
All the horizontal arrangements are settled to right in horizontal alignment.
The x position of A, B and C labels are these ones:
But the labels have a width of 20 px and the space between them is 10 px, so I can’t understand these numbers.
I tried with Animation utilities and with @Mohamed_Tamer fantastic Component tools, but the numbers are the same.
I guess this has something to do with the Companion and the resolution of the device used to test, because the numbers are different if another device is used.
Anyway, I need to know how to get the exact X position of the labels A, B and C so I can move an sprite to the same X position, no matter wich device I’m using.
I would appreciate a little explanation about this topic.
Thanks in advance!