font_size

Function font_size 

Source
pub fn font_size(child: impl IntoUiNode, size: impl IntoVar<Length>) -> 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.