Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: iverelo on January 23, 2014, 08:33:40 PM

Title: Auto adjust box collider on widget turns on when going to play mode
Post by: iverelo on January 23, 2014, 08:33:40 PM
I have a box collider attached to a UI sprite and I un-check the Box Collider auto-adjust to match option in the widget but it turns the option back on as soon as I hit play.

Is there a way to keep this off?
Title: Re: Auto adjust box collider on widget turns on when going to play mode
Post by: iverelo on January 23, 2014, 08:43:09 PM
Turns out it was something the scroll bar was doing.  I commented out line 102 of UIScrollBar and now it does not resize.
Title: Re: Auto adjust box collider on widget turns on when going to play mode
Post by: ArenMook on January 24, 2014, 10:40:42 AM
Scroll bar's box collider is supposed to resize with it. Otherwise it won't be correct.