Author Topic: UI size different in device  (Read 2190 times)

roberto_sc

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
UI size different in device
« on: July 31, 2013, 03:00:25 PM »
Hello.

I resized the Unity editor window so the Game window had the same size of my tablet screen and set Unity to use the same resolution of the tablet.

Everything looked the same size, but the UI was much smaller in the device. Why?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UI size different in device
« Reply #1 on: August 01, 2013, 06:05:32 PM »
Choosing the resolution doesn't mean that the window is actually that size. Unity will maintain the aspect ratio and shrink the window. You need to set the size on the UIRoot instead (after setting it to Fixed Size).