virtual class vaseGui::EdgeBox

sys::Obj
  vaseGui::Widget
    vaseGui::WidgetGroup
      vaseGui::EdgeBox

@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.

bottom

Widget? bottom

Bottom widget is laid out with preferred height.

center

Widget? center

Center widget gets any remaining space in the center.

layoutChildren

virtual override Void layoutChildren(Bool force)

left

Widget? left

Left widget is laid out with preferred width.

make

new make()

prefContentSize

virtual override Size prefContentSize(Int hintsWidth := -1, Int hintsHeight := -1)

Widget? right

Right widget is laid out with preferred width.

top

Widget? top

Top widget is laid out with preferred height.