Author Topic: Widgets suddenly very large  (Read 2633 times)

NakenDraugr

  • Guest
Widgets suddenly very large
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Widgets suddenly very large
« Reply #1 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.

NakenDraugr

  • Guest
Re: Widgets suddenly very large
« Reply #2 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!

NakenDraugr

  • Guest
Re: Widgets suddenly very large
« Reply #3 on: September 02, 2012, 02:00:56 AM »
Just tested.  The widget itself had been sized wrong.  It's functioning fine now.  Again, tyvm.