Documentation

$setSize

sets the component size

boolean $setSize(number x,number y);

Parameters

xnumberthe component width
ynumberthe component height

Returns

booleanreturns true if new size differs from the previous one

See also

Details

The method is used in the inner logic and not intended for direct use.
To set a new size, please define new width, height values and call the resize method.

Back to top