Files
Lam Wei Lun a6d199bac4 Fix oversized DEV text in the mode switch on Retina macOS
ModeSwitchButton::doRender() scaled the DEV font by mac_max_scaling_factor()
on macOS, but the paint DC there already works in logical points. On a 2x
Retina display the 12pt font was drawn at 24pt inside the FromDIP(48, 18)
switch, so it overflowed the track and got clipped.

Only the MSW path needs the scaled font: it draws through a wxGCDC over a
scale-1 memory DC, whose text is sized for 96 DPI. Keep that compensation
there and draw with the default font on macOS and GTK, which is also what
the rest of the panel uses. The MSW baseline offset is unchanged.

Fixes #17180
2026-11-03 14:22:15 +08:00
..
2026-10-05 18:47:28 +08:00
2026-08-21 18:36:30 +08:00
2026-10-02 14:45:58 -03:00
2026-10-05 18:47:28 +08:00
…