Function zng::wrap::lazy_sample
source ยท pub fn lazy_sample(
children_len: impl IntoVar<usize>,
spacing: impl IntoVar<GridSpacing>,
child_sample: impl UiNode,
) -> impl 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
.