Fan

 

class

fwt::EdgePane

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

@collection = false
@js

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? bottom

Bottom widget is laid out with preferred height.

centerSource

Widget? center

Center widget gets any remaining space in the center.

leftSource

Widget? left

Left widget is laid out with preferred width.

onLayoutSource

override Void onLayout()

Overrides fwt::Pane.onLayout

Doc inherited from fwt::Pane.onLayout

Handle the layout event by setting the bounds on all children.

prefSizeSource

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

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.w will be null. If no constraints are known for height, then hints.h will be null.

Widget? right

Right widget is laid out with preferred width.

topSource

Widget? top

Top widget is laid out with preferred height.