
ContentPane is the base class for panes which only contain one child widget called content
.
Slots
- add
-
override This add(Widget child)
If this the first widget added, then assume it the content.
- content
-
Widget content
The content child widget.
- onLayout
-
override Void onLayout()
Handle the layout event. The method is only called Pane containers. Custom panes must override this method to set the bounds on all their children.
- prefSize