class fwt::ContentPane

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

@Js
@Serializable

Source

ContentPane is the base class for panes which only contain one child widget called content.

add

@Operator
virtual override This add(Widget? child)

Source

If this the first widget added, then assume it the content.

content

Widget? content

Source

The content child widget.

onLayout

virtual override Void onLayout()

Source

prefSize

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

Source