Panel:SizeTo
Panel:SizeTo( number sizeW = 0, number sizeH = 0, number time, number delay = 0, number ease = -1, function callback )
Description
Uses animation to resize the panel to the specified size.
Arguments
5 number ease = -1
Easing of the start and/or end speed of the animation. See Panel:NewAnimation for how this works.
6 function callback
The function to be called once the animation finishes. Arguments are:
- table animData - The AnimationData structure that was used.
- Panel pnl - The panel object that was resized.
Page views: 17,075
Updated: This Month
Updated: This Month