zng_wgt_stack

Function node

source
pub fn node(
    children: impl UiNodeList,
    direction: impl IntoVar<StackDirection>,
    spacing: impl IntoVar<Length>,
    children_align: impl IntoVar<Align>,
) -> impl UiNode
Expand description

Stack node.

Can be used directly to stack widgets without declaring a stack widget info. This node is the child of the Stack! widget.