Function zng_wgt_wrap::lazy_size

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

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

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