Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: dandrea on May 07, 2015, 04:53:07 PM

Title: Is there a way of setting a widget's height to less than 2 pixels?
Post by: dandrea on May 07, 2015, 04:53:07 PM
Is there a way of setting a widget's height to less than 2 pixels?
Title: Re: Is there a way of setting a widget's height to less than 2 pixels?
Post by: Nicki on May 07, 2015, 05:19:18 PM
Nay.

Unless you change the UIWidget script to allow it. It's for reasons™. (less than two behaves very oddly when moved around)
Title: Re: Is there a way of setting a widget's height to less than 2 pixels?
Post by: ArenMook on May 07, 2015, 09:34:06 PM
Better question is why you'd want to... what's the point of having a 1 pixel label?
Title: Re: Is there a way of setting a widget's height to less than 2 pixels?
Post by: dandrea on May 08, 2015, 11:06:28 AM
Basically, I have a widget with other things inside it and I want to "fold" it.

Works nice, but I end up with a pile of 2px widgets instead of making then going away for that while.
Title: Re: Is there a way of setting a widget's height to less than 2 pixels?
Post by: ArenMook on May 09, 2015, 04:24:53 AM
So fold it... by adjusting its scale.