zng::layout

Function y

source
pub fn y(child: impl UiNode, y: impl IntoVar<Length>) -> impl UiNode
Expand description

P Offset on the y axis.

Relative values are computed from the constraints maximum bounded height.

ยงoffset

You can set both x and y at the same time using the offset property.