Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: krur on May 21, 2012, 03:46:01 AM
-
hi
i can't find a way to have all my NGUI elements with fixed sizes: i don't want them to scale on lower screen resolution (i just want them to keep the relative positions to screen corners)
is it possible?
thank you
stefano
-
Make sure to have the "Automatic" option unchecked in the UIRoot
-
actually i did disable it (it's the only setting related to automatic scaling that i found)
but they it doesn't seem to work.. the widgets get scaled when launching the player with different resolutions!
uhmmmm
-
Use UIAnchor to attach them to corners. UIRoot with 'automatic' on will keep your widgets in pixel coordinates, meaning they will always take X number of pixels on the screen regardless of the size of the screen. If the 'automatic' is off, they will scale with the resolution changes, and will stay the same size proportionally relative to the screen's height.
-
i as already using UIAnchor .. all widgets stays perfectly relative to the screen corners..
but they keep resizing proportionally to the screen size :(
isn't there any sample scene anywhere?
thank you!
-
Uncheck "automatic" on UIRoot and they will stay the same size in pixels.