zng::text

Function font_variations

source
pub fn font_variations(
    child: impl UiNode,
    variations: impl IntoVar<FontVariations>,
) -> impl UiNode
Expand description

P Sets font variations.

Note: This property fully replaces the font variations for the widget and descendants, use with_font_variation to create a property that sets a variation but retains others from the context.