preparing a new ui
Alright guys, how do I generate the numbers needed to be subtracted from the X and Y values of the "ToolbarField."
I'm looking for the values in the formulas: *screen resolution width* / 2 - *X VALUE* and *screen resolution height* - *Y VALUE* I'm assuming the value is derived from the size of the letterbox image, but I can't figure out how to generate it. |
Are you trying to center the toolbar on the bottom of the screen? If so, then here are the fomulas:
X = (screenwidth/2) - (toolbarwidth/2) Y = screenheight - toolbarheight |
Thanks hicks, thats exactly what i was looking for.
|
All times are GMT -5. The time now is 08:32 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI