Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Vaei on January 27, 2014, 08:06:40 AM

Title: UIGrid Disables Itself on Activation
Post by: Vaei on January 27, 2014, 08:06:40 AM
Hi,

I am having the server list all available characters by instantiating an NGUI item. These items are entered into the UIGrid, but as soon as the panel containing UIGrid is activated, UIGrid sorts it's contents then turns itself off and can't be re-enabled until next run.

I need it to sort them as they're added... How can I achieve this?
Title: Re: UIGrid Disables Itself on Activation
Post by: ArenMook on January 27, 2014, 08:16:59 AM
GetComponent<UIGrid>().Reposition()
Title: Re: UIGrid Disables Itself on Activation
Post by: Vaei on January 27, 2014, 08:24:23 AM
Thank you! I was worried I had run into a bug, turns out as usual it's my lack of knowledge :)