zng_wgt_stack

Function spacing

source
pub fn spacing(spacing: impl IntoVar<Length>)
Expand description

c Space in-between items.

The spacing is added along non-zero axis for each item offset after the first, the spacing is scaled by the direction factor.

ยงCapture-Only

This property is capture-only, it only defines a property signature, it does not implement any behavior by itself. Widgets can capture and implement this property as part of their intrinsics, otherwise it will have no effect if set on a widget that does not implement it.