int GUIControl.Width;
Gets/sets the width of the GUI control. This allows you to dynamically
resize GUI controls while the game is running.
Applies To
Inherited by the Button, InvWindow, Label, ListBox, Slider and TextBox.
Example:
btnConfirm.Width = 110;
makes the btnConfirm button 110 pixels wide.
See Also: GUIControl.Height,
GUIControl.SetSize
|