Author Topic: NGUI does not reposition UI for iPad platform, but does in Android  (Read 5618 times)

20andup

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
I notice that NGUI does not reposition the UI when the platform is set to iPad.  Ie/ When I change the screen resolution, the UI stays in the same position. 

But when I am using the Android platform, the UI auto-repositions for me.   

I am having this problem for 4:3 aspect ratio for iPad mini.  The sides are cut off, but it works great on Android 4:3.  So is there a way to go-around this?

20andup

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: NGUI does not reposition UI for iPad platform, but does in Android
« Reply #1 on: August 06, 2014, 09:49:30 AM »
I think the problem might be the fact that UIRoot dimensions are larger than the aspect ratio dimension.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI does not reposition UI for iPad platform, but does in Android
« Reply #2 on: August 07, 2014, 01:23:32 AM »
Check the documentation page for UIRoot regarding how Manual height and min/max values control it. Pixel Perfect is what UIRoot uses by default, and in your case you should either use anchoring, or stick with Fixed Size. It's explained in the documentation for UIRoot.