Author Topic: GUI elements not adjusting for screen size?  (Read 1985 times)

NotANinja

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
GUI elements not adjusting for screen size?
« on: August 05, 2013, 06:29:56 PM »
First off, thank you to ArenMook for answering my last question. It took me a few days to get back to this, and it would probably be rude to bump a thread that's off the front page just to say thanks, so I've put that here.

That being said, I have another question: How I get my GUI to resize with screen size changes? The closest matches I could find on the forum search were to either unset "Automatic" on UIRoot, which does not appear to be an option in the latest version, or to code a solution.

Now, I could code a solution, but NGUI probably already has this solved, so rather than re-invent the wheel, I've decided to ask on here.

What's the standard solution for re-sizing GUI elements with screen-size changes?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: GUI elements not adjusting for screen size?
« Reply #1 on: August 05, 2013, 11:01:54 PM »
Fixed size UIRoot means the UI will remain proportionally the same size. Pixel perfect UI means it will remain pixel perfect. There is no "automatic" anymore, and hasn't been for a long time.

Consult the "catering to different screen resolutions" video tutorial on the NGUI docs page.