Author Topic: The size of the UIroot seems not correct  (Read 1201 times)

allentin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
The size of the UIroot seems not correct
« on: April 02, 2014, 07:02:58 AM »
Hi, I get a crazy result every time I make a button that anchor the left side to target's left and right side to the right. But I get no problem if I stick every sides to the target's center. It seems the width and height of the UIroot is not correct.
I test the app on an iphone 5 and everything is much smaller than in the editor. Therefore, I want the size of the buttons are proportional to the size of the screen, and so I don't want every sides stick to the target's center only. Thank you very much for any help!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: The size of the UIroot seems not correct
« Reply #1 on: April 02, 2014, 04:37:41 PM »
Set the UIRoot to Fixed Size.