zng_wgt_image

Function img_scale

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

P Sets the scale applied to all inner images.

The scaling is applied after img_scale_ppi if active.

By default not scaling is done.