Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 571 Bytes

File metadata and controls

29 lines (17 loc) · 571 Bytes
title DockLayout

DockLayout

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

DockLayout{.terminal}

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

Related