Author Topic: Scale GUI based on DPI  (Read 1377 times)

xbelt

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 1
  • Posts: 9
    • View Profile
Scale GUI based on DPI
« on: March 28, 2014, 04:16:47 AM »
Hello,

is there an easy way to scale the NGUI elements based on the DPI? I am developing for Android tablets which have an extreme variety of different resolutions and therefore DPI's.
Is there something that would work besides anchoring an element to a fixed offset to the UIRoot.center? (This just look plain ugly on resizing)
Kind regards

Lukas Häfliger

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scale GUI based on DPI
« Reply #1 on: March 28, 2014, 08:46:49 AM »
UIRoot has that option.