2010-01-25, 21:55
Hi,
I want to position a specific UI element, let's say an image on the right top corner of the screen. For the example, it's a 100px wide and I want it to be shown in whole up to the right-top edge.
I tried the most straightforward approach of ...control.setPosition(self.getWidth()-OBJECT_WIDTH, 0). The problem is with the aspect ratios, resolutions and other things I understand very little on.
Can someone throw me in the right direction??
Thanks,
--mr. kav
I want to position a specific UI element, let's say an image on the right top corner of the screen. For the example, it's a 100px wide and I want it to be shown in whole up to the right-top edge.
I tried the most straightforward approach of ...control.setPosition(self.getWidth()-OBJECT_WIDTH, 0). The problem is with the aspect ratios, resolutions and other things I understand very little on.
Can someone throw me in the right direction??
Thanks,
--mr. kav