zng::grid

Function node

source
pub fn node(
    cells: impl UiNodeList,
    columns: impl UiNodeList,
    rows: impl UiNodeList,
    auto_grow_fn: impl IntoVar<WidgetFn<AutoGrowFnArgs>>,
    auto_grow_mode: impl IntoVar<AutoGrowMode>,
    spacing: impl IntoVar<GridSpacing>,
) -> impl UiNode
Expand description

Grid node.

Can be used directly to layout widgets without declaring a grid widget info. This node is the child of the Grid! widget.