Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: kromenak on January 07, 2014, 10:06:23 PM

Title: NGUI 3.0.8 - Uniform Scaling and Scale-from-Center
Post by: kromenak on January 07, 2014, 10:06:23 PM
I've just started upgrading my project from NGUI 2.x to the latest version of NGUI.  All is compiling and the game is looking pretty decent, except for most of my text and graphics are not the right sizes anymore (I think as a result of not using the transform scale anymore, and widget scale being reset to 1).

I'm trying to resize my various widgets and texts, but I'm running into some possibly "dumb" issues:

I'm concerned that it isn't possible to do these things with the latest NGUI changes, but I'm also wondering if I'm just missing shortcut keys or some unobvious feature.
Title: Re: NGUI 3.0.8 - Uniform Scaling and Scale-from-Center
Post by: Cripple on January 08, 2014, 03:26:17 AM
Hi,

You can force an Widget to keep it aspect ratio based on the width or the height. If you force that, the next time that you resize the widget, it will be resized according to this.