Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
How to set a Object Position... — Gideros Forum

How to set a Object Position...

DoradoLabDoradoLab Member
edited June 2014 in Code snippets
Hi Gideros,

I am facing a problem while positioning the object in Gideros where it will differ the position when we install in different resolution device. As i have already solved the Image orientation and scaling problem this i am facing newly. Even we follow Stage center concept if we want to give some offset value which will vary in different devices. So is there any calculation which will convert MDPI value to other assets like HDPI XDPI ??? If so please help me in this problem.


Example : myMC.x = conf.width/2 - 165

Where 165 is the extra offset which i need to give to set the exact position in screen.
But if the same 165 may give the wrong position for larger density than current one. So please help me i think this is enough to know my problem.

Thanks and Regards,

Dorado Lab

Likes: DoradoLab

+1 -1 (+1 / -0 )Share on Facebook

Comments

Sign In or Register to comment.