Function zng::stack::lazy_sample
source ยท pub fn lazy_sample(
children_len: impl IntoVar<usize>,
direction: impl IntoVar<StackDirection>,
spacing: impl IntoVar<Length>,
child_sample: impl UiNode,
) -> impl UiNode
Expand description
Create a node that estimates the size of stack panel children.
The estimation assumes that all items have the size of child_sample
.