Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: klausimausi on February 13, 2014, 04:33:36 AM

Title: NGUI's UIRoot with custom height AND width?
Post by: klausimausi on February 13, 2014, 04:33:36 AM
Hi,

I'm developing a NGUI project, which has the resolution 1080x1500, so the height > width. All graphics from the designers correspond to this resolution. I want to run the release version of this GUI in portrait mode on Android devices as well as on Windows 8 devices (Acer Tablet, which can be run in portrait mode). How do I accomplish to run this project in unscaled mode on both devices? In NGUI's UIRoot I can only change the height, but not the width. The width is set automatically to 2090 and I cannot change that.

Thanks in advance!
Title: Re: NGUI's UIRoot with custom height AND width?
Post by: ArenMook on February 14, 2014, 06:08:46 AM
Width is set to 2090? Strange number... set by what? If you're running something in portrait mode, say 1080x1920 resolution, then UIRoot's height will be 1920 (assuming it's set to Pixel Perfect).