Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Bradamante3D on July 14, 2013, 01:33:16 PM

Title: UI Scaling problem
Post by: Bradamante3D on July 14, 2013, 01:33:16 PM
Hi,

I just ran into a problem in my game using NGUI. I have a GUI with a 2D UI Root with Ortho Camera, while my game camera is Perspective. The setting on the UI Root is PixelPerfect.

Let's say my UI element is 240x200. On my 1920x1200 monitor it shows up fine (w/ PixelPerfect). On my 1400x900 notebook the UI elements stay that size (which I guess is the supposed behavior), so no the game is unplayable thanks to overlapping UI elements.

So on both computers I tried changing PixelPerfect to FixedSize. Now, all elements on my 1920x1200 monitor are larger, like maybe 2x as large. Question: Do I now have to go through all my GUI elements (and that's a lot!) and scale them down? Question: Shouldn't PixelPerfect and FixedSize look the same on my 1920x1200 reference monitor?

Just in case it matters: Manual Height: 720, Minimum Height: 320, Maximum Height: 1536.

Thx
Title: Re: UI Scaling problem
Post by: ArenMook on July 14, 2013, 07:26:31 PM
Set your Manual Height to 1200, matching the height of your original monitor.