GetAutoSize
From IfsoGUIWiki
Contents |
Declaration
GetAutoSize:Int()
Returns whether or not to the gadget will autosize or be manually controlled by the user.
Returns
True or False (Integer)
Parameters
None
Gadget Information
Gadgets that support this property:
- Button - Button is resized to its minimum size around its label text.
- ImageButton - Button is resized to its minimum size around its image and text.
- Checkbox - The text label area of the checkbox will automatically size to the text.
- Label - The label will automatically size to the size of the text.
- Panel and Window - Determines the way a background image is resized. Options are:
- ifsoGUI_IMAGE_NONE - Image is drawn at the top left.
- ifsoGUI_IMAGE_CENTER - Image is drawn in the center of the panel.
- ifsoGUI_IMAGE_SCALETOPANEL - Image is resized to fit the panel.
- ifsoGUI_IMAGE_RESIZETOIMAGE - Panel is resized to the size of the image.
- ifsoGUI_IMAGE_SCALETOPANEL_MAINTAINASPECTRATIO - Image is resized to fit the panel, but the panel size is forced ot match the aspect ratio of the image.
- ifsoGUI_IMAGE_TILE - Image is tiled to fill the entire background area of the panel.
