zng::text

Function font_stretch

source
pub fn font_stretch(
    child: impl UiNode,
    stretch: impl IntoVar<FontStretch>,
) -> impl UiNode
Expand description

P Defines how condensed or expanded the preferred font should be.

This value influences font resolution, the variant within the font family that is closest to this config will be selected.

Sets the FONT_STRETCH_VAR.