(Formerly known as SetGUISize, which is now obsolete)
GUI.SetSize(int width, int height)
Changes the GUI to have the new size WIDTH x HEIGHT
This could be useful for initially hiding an 'Advanced' part of an options screen
and such like.
The size is in the normal 320x200-resolution pixels. Setting the size to 320, 200 will
cause the GUI to take up the entire screen.
Example:
gIconbar.SetSize(160, 100);
changes the ICONBAR GUI to be the size of half the screen
See Also: GUI.Centre,
GUI.Height,
GUIControl.SetPosition,
GUI.SetPosition,
GUI.Width
|