Function zng::text::font_size

source ยท
pub fn font_size(child: impl UiNode, size: impl IntoVar<Length>) -> impl UiNode
Expand description

P Sets the font size for the widget and descendants.

This property affects all texts inside the widget and the Length::Em unit.

Sets the FONT_SIZE_VAR context var and the LayoutMetrics::font_size.