Function zng::layout::translate

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

P Translate transform.

This property is a shorthand way of setting transform to new_translate(x, y) using variable merging.