Function zng_wgt_size_offset::offset

source ·
pub fn offset(child: impl UiNode, offset: impl IntoVar<Vector>) -> impl UiNode
Expand description

P Widget layout offset.

Relative values are computed from the constraints maximum bounded size.

§x and y

You can use the x and y properties to only set the position in one dimension.