Author Topic: Aspect Ratio Help  (Read 1654 times)

perloe

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Aspect Ratio Help
« on: October 10, 2013, 10:39:40 AM »
I need help with setting this scene up so it will function correctly for different aspect ratios.



Current setup:
•   Top Center Anchor - for logo
•   Center Anchor - for dialog box
•   Bottom Left Anchor - for button
•   Bottom Right Anchor - for button

The issue is when the aspect ratio changes to iPhone5, the sides of the dialog get cut off, and the buttons on the bottom of the screen overlap each other because they get too close together.

The dialog needs to scale horizontally, but not so the text inside the box gets compressed.  Also, it needs to grow vertically so that it takes us the extra vertical space of the iPhone5 screen.

How can I set this up using the NGUI tools (UIStretch, UIRoot) to make this function correctly?  And advice would be appreciated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile