This type represents a label control.
This type inherits Control type. All of its base methods and fields are also available in this type.
Control
Constructor
Constructs the label.
Arguments
Name
Type
Description
id
ControlID|string
ControlID
|string
Control ID.
str
string
Label string.
col
Color
Label color. Defaults to nil.
nil
bold
bool
Whether to use bold font. Defaults to false.
false
Returns
Label
Label object.
Example
local lab = gui.Label(id, 'Hello!');
Field
Text for this label
Method
Sets the new text.
New text.
Nothing.
Last updated 25 days ago
lab:SetText('New hello!');