ltk::types

Function set_text_scale

Source
pub fn set_text_scale(s: f32)
Expand description

Set the global text scale multiplier applied to every resolved font size (the accessibility “large text” factor). Clamped to [0.5, 3.0]. The run loop keeps it synced to the desktop’s org.gnome.desktop.interface text-scaling-factor GSettings key and repaints on change, so apps normally never call this themselves; embedders driving crate::core::UiSurface directly do.