Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: appminis-mike on February 16, 2014, 09:59:07 PM
-
I have a UIWidget that needs to grow if its children exceed the bounds of its initial size. So if it is 300x300, but the span an area 400 pixels high, I would like the widget to resize itself to 410 or something. Is there a script or a widget available to accomplish such a thing? Or do I need to handle this myself?
Thank you.
-
NGUITools.Calculate series of function can do the math for you. There is no explicit script that resizes something to envelop the contents.