Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: bmon3y on January 07, 2015, 08:49:07 PM

Title: Tween row within grid?
Post by: bmon3y on January 07, 2015, 08:49:07 PM
So I have a kill feed made up of labels within a grid. Each of the label rows have a self destruct script on them so they fade out and get destroyed. When the very top row gets destroyed the next row gets moved to the top, but it snaps to the top. Is there any way to tween it so it moves in a smoother fashion?
Title: Re: Tween row within grid?
Post by: ArenMook on January 08, 2015, 08:46:51 AM
Sure, just enable UIGrid.animateSmoothly and call Reposition() after removing some child. I do that in Windward for the skill bar.
Title: Re: Tween row within grid?
Post by: bmon3y on January 08, 2015, 12:40:31 PM
Awesome, thank you!