Author Topic: NGUI's UIRoot with custom height AND width?  (Read 2920 times)

klausimausi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
NGUI's UIRoot with custom height AND width?
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI's UIRoot with custom height AND width?
« Reply #1 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).