Function zng_wgt_text::font_weight

source ยท
pub fn font_weight(
    child: impl UiNode,
    weight: impl IntoVar<FontWeight>,
) -> impl UiNode
Expand description

P Defines the thickness or boldness the preferred font should have.

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

Sets the FONT_WEIGHT_VAR.