lazy_sample

Function lazy_sample 

Source
pub fn lazy_sample(
    children_len: impl IntoVar<usize>,
    spacing: impl IntoVar<GridSpacing>,
    child_sample: impl IntoUiNode,
) -> UiNode
Expand description

Create a node that estimates the size of wrap panel children.

The estimation assumes that all items have the size of child_sample.