Author Topic: Reescale for diferent device  (Read 2753 times)

joreldraw

  • Guest
Reescale for diferent device
« on: April 16, 2012, 06:40:56 AM »
Im doing an app crossover (mobile, tablet and pc).

I have a menu on left that i like to resize fully the panel to show big on tablet, small on pc and medium size on mobile.

How can i scale this panel according the resolution device.

Pc: 1980x1020
Tablet: 1280x800
Mobile: 800 x 480

Thanks in advance

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Reescale for diferent device
« Reply #1 on: April 16, 2012, 09:38:07 AM »
UIAnchor to position it, UIStretch to scale it if you need it to be relative to the screen's resolution (always taking a certain percentage). If you want it to always be the same size in pixels, just leave the leave the UI at default settings and use UIAnchor to position it. UIStretch isn't needed.