Add Built-in Layouts

2024-11-13 21:39:54 +01:00
parent f7b674e0c8
commit efa7d345c1

32
Built-in Layouts.-.md Normal file

@@ -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.