zng::layout

Function scale

source
pub fn scale(child: impl UiNode, s: impl IntoVar<Factor>) -> impl UiNode
Expand description

P Scale transform.

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