Expand description
Stack-based layout primitives.
The submodules implement horizontal, vertical, and overlay stacks. These
views arrange child content according to alignments and spacing and are the
backbone of most declarative layouts in WaterUI.
Structs§
- HStack
- A view that arranges its children in a horizontal line.
- HStack
Layout - Layout engine shared by the public
HStackview. - VStack
- A view that arranges its children in a vertical line.
- VStack
Layout - Layout engine shared by the public
VStackview. - ZStack
- A view that overlays its children, aligning them in front of each other.
- ZStack
Layout - Stacks an arbitrary number of children with a shared alignment.
Enums§
- Alignment
- Combined two-dimensional alignment used by overlay stacks.
- Axis
- Defines the axis of a stack.
- Horizontal
Alignment - Defines horizontal alignment options for layout components.
- Vertical
Alignment - Defines vertical alignment options for layout components.