Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: NakenDraugr on September 01, 2012, 03:26:50 PM

Title: Widgets suddenly very large
Post by: NakenDraugr on September 01, 2012, 03:26:50 PM
I upgraded to version 2.1.6.  But before and after the upgrade (I was prev using 2.1.4), something has gone awry where when I create a widget, it's VERY large and rather difficult to scale down.  I tried to just copy other widgets I created before the bug and that works for non-dynamically created aspects.  For example, I copied a functioning dropdown, but when the user clicks the dropdown in-game, the sprite rendered is VERY large and I don't know how to scale that.

What could have gone wrong?

And, btw: You've saved me a LOT of time with NGUI -- thank you!  Worth every penny spent!
Title: Re: Widgets suddenly very large
Post by: ArenMook on September 01, 2012, 05:50:03 PM
Check the scales of all objects leading up to your widget -- they must remain at (1, 1, 1), with the sole exception of UIRoot.
Title: Re: Widgets suddenly very large
Post by: NakenDraugr on September 02, 2012, 01:56:59 AM
Thank you.  I re-loaded Unity and checked -- they were all 1x1x1, but when I created a new widget, it was appropriately sized, so who knows what I was doing.  Will create such a widget and see if it keeps the dropdown sprite at the right size.

Keep up the GREAT work!
Title: Re: Widgets suddenly very large
Post by: NakenDraugr on September 02, 2012, 02:00:56 AM
Just tested.  The widget itself had been sized wrong.  It's functioning fine now.  Again, tyvm.