Resizes the panel with animation
sizeTo(type, size)
type string, name of the panel
size integer, new size

Description

The first argument type is the name of the panel. It can be one of the following: The second argument size is the new size for the panel. For different types of panels it valies, for left and right panels it is width, for all other panels it is height.
An example below illustrates the use of resizeTo method: