apps/automated/src/ui/layouts/dock-layout.md
Using a DockLayout requires the DockLayout module. {%snippet dock-layout-require%}
<Page>
<DockLayout stretchLastChild="true">
<Button dock="left" text="left" style="background-color: red; margin: 5;" />
<Button dock="top" text="top" style="background-color: lightblue; margin: 5;" />
<Button dock="right" text="right" style="background-color: lightgreen; margin: 5;" />
<Button dock="bottom" text="bottom" style="background-color: lightpink; margin: 5;" />
<Button text="fill" style="background-color: wheat; margin: 5;" />
</DockLayout>
</Page>
Other frequently used modules when working with a DockLayout include: {%snippet dock-layout-others%}
{%snippet dock-layout-create%}
{%snippet dock-layout-addchild%}
{%snippet dock-layout-removechild%}
{%snippet dock-layout-setdocl%}