Skip to main content

TEXT_SCALE_KEY

Constant TEXT_SCALE_KEY 

Source
pub const TEXT_SCALE_KEY: SettingsKey<f32>;
Expand description

Persisted user-controlled global text-scale factor (1.0 = 100 %).

Read at startup by teksilo-app to seed every window’s text scale, and bound by the TextScaleControl widget so edits persist. The key accepts any f32; the UI control restricts the user-facing range to 80 %–200 %. The effective rendered scale is this value multiplied by the OS accessibility text-scale preference.