Function zng_wgt_grid::cells

source ·
pub fn cells(cells: impl UiNodeList)
Expand description

c Cell widget items.

Cells can select their own column, row, column-span and row-span using the properties in the Cell! widget. Note that you don’t need to use the cell widget, only the cell properties.

If the column or row index is set to usize::MAX the widget is positioned using the logical index i, the column i % columns and the row i / columns.

§Capture-Only

This property is capture-only, it only defines a property signature, it does not implement any behavior by itself. Widgets can capture and implement this property as part of their intrinsics, otherwise it will have no effect if set on a widget that does not implement it.