Author Topic: Scaling style FixedSizeOnMobiles problem  (Read 6142 times)

Kevin Nguyen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Scaling style FixedSizeOnMobiles problem
« on: June 16, 2014, 04:23:35 AM »
I read document about the UIRoot component and I found:
Scaling Style: The following are the available scaling styles:
° PixelPerfect: This will ensure that your UI will always try to remain at the same size in pixels, no matter what resolution. In this scaling mode, a 300 x 200 window will be huge on a 320 x 240 screen and tiny on a 1920 x 1080 screen. That also means that if you have a smaller resolution than your UI, it will be cropped.
° FixedSize: This will ensure that your UI will be proportionally resized depending on the screen's height. The result is that your UI will not be pixel perfect but will scale to fit the current screen size.
° FixedSizeOnMobiles: This will ensure fixed size on mobiles and pixel perfect everywhere else.

and I'm using FixedSizeOnMobiles with Manual Height: 720. Minimum Height: 320. But when app run in tablet, all button, background,.... it look not good!
What shoud I do?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scaling style FixedSizeOnMobiles problem
« Reply #1 on: June 16, 2014, 08:38:41 AM »
"it look not good" doesn't explain anything. What does that mean?

FixedSizeOnMobile on a tablet = Fixed Size root. Given your manual height of 720, you're always treating the screen height as 720p. (1280x720 with a 16:9 aspect ratio).

Kevin Nguyen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Scaling style FixedSizeOnMobiles problem
« Reply #2 on: June 16, 2014, 03:15:16 PM »
Sr about my question, but when I build my project and run it, everything is "blurry" on both mobile and tablet!
« Last Edit: June 16, 2014, 04:19:04 PM by Kevin Nguyen »

Kevin Nguyen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Scaling style FixedSizeOnMobiles problem
« Reply #3 on: June 17, 2014, 06:38:51 AM »
Ok I can fix it, because level of Quality Settings is "Fastest"!
I don't know why? because I never touch it!
but everything well! Thanks so much ;D