Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Wahooney on February 18, 2014, 02:40:37 PM

Title: HELP: Propagate dimension changes to children
Post by: Wahooney on February 18, 2014, 02:40:37 PM
Hi,

I need to resize my widget when it's parent gets resized, is there some sort of callback to handle that?
Title: Re: HELP: Propagate dimension changes to children
Post by: ryan on February 18, 2014, 04:43:17 PM
If the parent is also a widget, there's an onChange callback that you can register.
Title: Re: HELP: Propagate dimension changes to children
Post by: Wahooney on February 18, 2014, 06:11:14 PM
Thanks! I'll try that out :D