From efa7d345c1855f2b9b149c28b6ed70a7740fe113 Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Wed, 13 Nov 2024 21:39:54 +0100 Subject: [PATCH] Add Built-in Layouts --- Built-in Layouts.-.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Built-in Layouts.-.md diff --git a/Built-in Layouts.-.md b/Built-in Layouts.-.md new file mode 100644 index 0000000..261ef36 --- /dev/null +++ b/Built-in Layouts.-.md @@ -0,0 +1,32 @@ +`App.Layout` serve several different purposes. They provide one or multiple of the following features for contained elements (`Layout`'s and/or `Widget`'s): + +- structuring +- decorating + +The following Layouts are provided by `zterm`: + +- `VStack` +- `HStack` +- `Padding` +- `Margin` +- `Framing` + +# VStack + +Vertical stacking of contained elements. + +# HStack + +Horizontal stacking of contained elements. + +# Padding + +Provide absolute padding for the contained single element. + +# Margin + +Provide relative (percentual) margins for the contained single element. + +# Framing + +Provide a frame (stylable through configuration parameter) for the contained single element. \ No newline at end of file