logo

class

fwt::EdgePane

sys::Obj
  fwt::Widget
    fwt::Pane
      fwt::EdgePane

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

bottom

Widget bottom

Bottom widget is laid out with preferred height.

Source

center

Widget center

Center widget gets any remaining space in the center.

Source

left

Widget left

Left widget is laid out with preferred width.

Source

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.

Source

prefSize

override Size prefSize(Hints hints := Hints.def)

Source

Widget right

Right widget is laid out with preferred width.

Source

top

Widget top

Top widget is laid out with preferred height.

Source