Author Topic: UIRoot doesn't auto-scale properly on different mobile devices  (Read 4530 times)

Grand_A

  • Guest
UIRoot doesn't auto-scale properly on different mobile devices
« on: October 31, 2012, 12:56:20 PM »
Hi Aren,

I've been using the UIRoot for my windows application and found no problem with it.
But when it comes to mobile device, somehow the UIRoot doesn't scale according to the size of the device screen properly.
When I use the UnityEditor, the UI perfectly fits the size of the window, but after I build it becomes incorrect. It always follow the size of my current scale, but never rescale it bigger or smaller according to the device resolution.
How do I resolve this issue?

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIRoot doesn't auto-scale properly on different mobile devices
« Reply #1 on: October 31, 2012, 03:24:50 PM »
UIRoot's scale is adjusted by the screen's height, if it's automatic. If it's not automatic, the size is not changed.

Grand_A

  • Guest
Re: UIRoot doesn't auto-scale properly on different mobile devices
« Reply #2 on: October 31, 2012, 11:18:47 PM »
I already set the UIRoot as automatic, but still the size doesn't change when I deploy to different devices?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIRoot doesn't auto-scale properly on different mobile devices
« Reply #3 on: November 01, 2012, 09:24:05 AM »
Why doesn't it? It should.