plushie/widget/row

Row widget builder (horizontal layout).

Types

pub opaque type Row

Values

pub fn a11y(row: Row, a: a11y.A11y) -> Row

Set accessibility properties for this widget.

pub fn align_y(row: Row, a: alignment.Alignment) -> Row

Set the vertical alignment.

pub fn build(row: Row) -> node.Node

Build the row into a renderable Node.

pub fn clip(row: Row, c: Bool) -> Row

Set whether overflowing content is clipped.

pub fn extend(row: Row, children: List(node.Node)) -> Row

Add multiple child nodes.

pub fn height(row: Row, h: length.Length) -> Row

Set the height.

pub fn max_height(row: Row, m: Float) -> Row

Set the maximum height in pixels.

pub fn max_width(row: Row, m: Float) -> Row

Set the maximum width.

pub fn new(id: String) -> Row

Create a new row builder.

pub fn padding(row: Row, p: padding.Padding) -> Row

Set the padding.

pub fn push(row: Row, child: node.Node) -> Row

Add a child node.

pub fn spacing(row: Row, s: Int) -> Row

Set the spacing between children.

pub fn width(row: Row, w: length.Length) -> Row

Set the width.

pub fn wrap(row: Row, w: Bool) -> Row

Set whether children wrap when they overflow.

Search Document