logo

class

fwt::Label

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

Label displays text and/or an image.

Slots

bg

Color bg := null

Background color. Defaults to null (system default).

Source

fg

Color fg := null

Foreground color. Defaults to null (system default).

Source

font

Font font := null

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

Source

halign

Halign halign := Halign.left

Horizontal alignment. Defaults to left.

Source

image

Image image := null

Image to display on label. Defaults to null.

Source

text

Str text := ""

Text of the label. Defaults to "".

Source