class fwt::Label

sys::Obj
  fwt::Widget
    fwt::Label

@Js
@Serializable

Source

Label displays text and/or an image.

bg

Color? bg

Source

Background color. Defaults to null (system default).

fg

Color? fg

Source

Foreground color. Defaults to null (system default).

font

Font? font

Source

Font for text. Defaults to null (system default).

halign

Halign halign

Source

Horizontal alignment. Defaults to left.

image

Image? image

Source

Image to display on label. Defaults to null.

text

Str text

Source

Text of the label. Defaults to "".