From 62c6faa54a5b0da159dd7c32f9d4e4d636a64d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Flurin=20Br=C3=BChwiler?= <47397416+FlurinBruehwiler@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:11:57 +0100 Subject: [PATCH] Update Layouting.md --- docs/Div/Layouting.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/Div/Layouting.md b/docs/Div/Layouting.md index 6bb03cc..e8328ff 100644 --- a/docs/Div/Layouting.md +++ b/docs/Div/Layouting.md @@ -33,6 +33,12 @@ using(ui.Div()) } ``` +## Direction +The direction of how the children are layed out can be customized. The default is vertical. +```csharp +using(ui.Div().Dir(Dir.Horizontal)) +``` + ## MAlign The default alignment of the children is "start" ```csharp @@ -65,12 +71,6 @@ These are the possible cross axis alignments. using(ui.Div().XAlign(XAlign.Center)) ``` -## Direction -The direction of how the children are layed out can be customized. The default is vertical. -```csharp -using(ui.Div().Dir(Dir.Horizontal)) -``` - ## Padding Padding can be applied on the parent to insert a gap between the parent and the children.