
Label displays text and/or an image.
Slots
- bg
-
Color bg := null
Background color. Defaults to null (system default).
-
static internal Str bgId := "bg"
- fg
-
Color fg := null
Foreground color. Defaults to null (system default).
-
static internal Str fgId := "fg"
- font
-
Font font := null
Font for text. Defaults to null (system default).
-
static internal Str fontId := "font"
- halign
-
Halign halign := Halign.left
Horizontal alignment. Defaults to left.
-
static internal Str halignId := "halign"
- image
-
Image image := null
Image to display on label. Defaults to null.
-
static internal Str imageId := "image"
- text
-
Str text := ""
Text of the label. Defaults to "".
-
static internal Str textId := "text"