
Flash Player 7 + TheSpringBox V1
Widget.setMinimumSize(width:String, height:String) : Object;
width - A number stating the minimum width the widget may take in pixels.
height - A number stating the minimum height the widget may take in pixels.
Nothing.
Method; sets the minimum size the widget window may take, if scaled to a size less than the minimum, the minimum size will be assumed. Calling this method will also trigger Widget.onResize, therefore if your widget is smaller than the size you are setting with Widget.setMinimusSize, your widget will expand to the new minimum. The the minimum size is set to 32x32 by default.
The function in this example will set the minimum size of the widget to 200x400 pixels:
Widget.setMinimumSize(200,400);
Widget.setMaximumSize()