Function zng_wgt_stack::lazy_size

source ยท
pub fn lazy_size(
    children_len: impl IntoVar<usize>,
    direction: impl IntoVar<StackDirection>,
    spacing: impl IntoVar<Length>,
    child_size: impl IntoVar<Size>,
) -> impl UiNode
Expand description

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

The estimation assumes that all items have a size of child_size.