Label displays text and/or an image.
Slots
- bgSource
-
native Color? bg
Background color. Defaults to null (system default).
- fgSource
-
native Color? fg
Foreground color. Defaults to null (system default).
- fontSource
-
native Font? font
Font for text. Defaults to null (system default).
- halignSource
-
native Halign halign
Horizontal alignment. Defaults to left.
- imageSource
-
native Image? image
Image to display on label. Defaults to null.
- textSource
-
native Str text
Text of the label. Defaults to "".