Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: will_brett on April 03, 2014, 04:16:34 AM
-
Hey everyone.
Run into a problem. Im working on a project that has the game running in portrait at quite a large resolution. 1200 x 1920 however my monitor screen resolution isnt that high so getting the NGUI UI set up is difficult. When I undock my game window and make it full screen it is still only 1906 x 987.
Any suggestions how I can get around this issue?
Thanks
-
I thought I had solved the issue by setting the min resolution to 1920 on the UI object. Which looks fine in Unity. But the second I built it to device its all wrong again. No idea whats going on as the nexus 7 v2 resolution is 1200 x 1920 so thats 1920 x 1200 in portait which is what Im working at (img 1) but then on the device it looks like (img 2).
Any help would really be appreciated.
-
You should just use a Fixed Size UIRoot rather than setting min/max in your case as you're targeting a specific resolution. When in doubt, NGUIDebug.Log the Screen.width and Screen.height.
-
Thanks I'll give that a go