public static scaleAdaptiveFontSize(value as Int) as Int:
Scales a numeric font size with the same factors as scaleAdaptiveFont.
Custom-painted widgets use this counterpart for baselines, line heights and caret geometry so their layout remains synchronized with the font.
| Parameter | Description |
|---|---|
value | Unscaled font size in pixels. |
Font size adapted to the display and current zoom.
lineHeight = ThemeManager.scaleAdaptiveFontSize(17) + ThemeManager.scaleMetric(9)