EdgePane is a container which lays out four children along the four edges and one child in the center. The top and bottom edges are laid out with their preferred height. Children on the left or right edges are laid out with with their preferred width. Any remaining space is given to the center component.
Slots
- bottomSource
-
Widget? bottomBottom widget is laid out with preferred height.
- centerSource
-
Widget? centerCenter widget gets any remaining space in the center.
- leftSource
-
Widget? leftLeft widget is laid out with preferred width.
- onLayoutSource
-
override Void onLayout()Overrides fwt::Widget.onLayout
Doc inherited from fwt::Widget.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.
- prefSizeSource
-
override Size prefSize(Hints hints := Hints.def)Overrides fwt::Pane.prefSize
Doc inherited from fwt::Pane.prefSize
Compute the preferred size of this widget. The hints indicate constraints the widget should consider in its calculations. If no constraints are known for width, then
hints.wwill be null. If no constraints are known for height, thenhints.hwill be null. - rightSource
-
Widget? rightRight widget is laid out with preferred width.
- topSource
-
Widget? topTop widget is laid out with preferred height.