plushie/widget/grid
Grid layout widget builder.
Types
Option type for grid properties.
pub type Opt {
NumColumns(Int)
Spacing(Float)
Width(length.Length)
Height(length.Length)
ColumnWidth(length.Length)
RowHeight(length.Length)
Fluid(Float)
A11y(a11y.A11y)
}
Constructors
-
NumColumns(Int) -
Spacing(Float) -
Width(length.Length) -
Height(length.Length) -
ColumnWidth(length.Length) -
RowHeight(length.Length) -
Fluid(Float) -
A11y(a11y.A11y)
Values
pub fn column_width(g: Grid, w: length.Length) -> Grid
Set the width on a column definition.