Expand description
Provides a flexible vertical layout component for arranging child widgets in a single column.
This module defines the column
component, which stacks its children vertically and offers fine-grained control
over alignment, sizing, and flexible space distribution via weights. It is suitable for building user interfaces
where elements need to be organized from top to bottom, such as forms, lists, or grouped controls.
Key features include:
- Main/cross axis alignment options
- Support for fixed, fill, or wrap sizing
- Weighted children for proportional space allocation
- Ergonomic macro for declarative usage
Typical usage involves composing UI elements that should be laid out in a vertical sequence, with customizable alignment and spacing behaviors.
Macros§
Structs§
- Column
Args - Arguments for the
column
component. - Column
Args Builder - Builder for
ColumnArgs
. - Column
Item - Represents a child item within a column layout.
Enums§
- Column
Args Builder Error - Error type for ColumnArgsBuilder
Traits§
- AsColumn
Item - Trait to allow various types to be converted into a
ColumnItem
.
Functions§
- column
- A column component that arranges its children vertically. A layout component that arranges its children in a vertical sequence.