Function zng::layout::translate_x

source ยท
pub fn translate_x(child: impl UiNode, x: impl IntoVar<Length>) -> impl UiNode
Expand description

P Translate X transform.

This property is a shorthand way of setting transform to new_translate_x(x) using variable mapping.