Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: finky45 on January 13, 2014, 08:14:10 AM
-
So I am trying to make a universal GUI (just 3 simple buttons) to scale dynamically based on the DPI of the mobile device. There is nothing else but 3 buttons and I can't get them to scale (they just remained fixed in pixels). Is there documentation how to accomplish DPI scaling?
-
First tell me if you have check the Scaling Style on UI Root.
If yes an other way is i "thing" store Screen.dpi and use it to some how multiple the width and size of your sprites!!
-
If you want scaling based on DPI, set UIRoot to Fixed Size mode and change its Manual height yourself based on your DPI-sensing logic.