class fwt::BorderPane

sys::Obj
  fwt::Widget
    fwt::Pane
      fwt::ContentPane
        fwt::BorderPane

@Js
@Serializable { collection=true }

Source

BorderPane is used paint a CSS styled border around a content widget.

bg

Brush? bg := null

Source

Background to paint under content, or null for transparent. The background does not include the border itself, but does include the insets and content. Default is null.

border

Border border := Border.defVal

Source

Border to paint around the edge of the content. Default is zero pixels.

insets

Insets insets := ...

Source

Insets to leave between border and the content. Default is zero pixels.

onLayout

virtual override Void onLayout()

Source

prefSize

virtual override Size prefSize(Hints hints := Hints.defVal)

Source