DockLayout

DockLayout docks visuals to edges (Top/Bottom/Left/Right) and gives remaining space to the content area.

DockLayout

Basic usage

new DockLayout()
    .Top(new Header().Left("Title"))
    .Bottom(new Footer().Left("Hints"))
    .Content(new ScrollViewer(new TextArea(longText)));

Defaults

  • Default alignment: HorizontalAlignment = Align.Stretch, VerticalAlignment = Align.Stretch