fix: align SettingsScreen item label to dynamic char width

Replace hardcoded x=8 with getCharWidth()+2 so the label doesn't
overlap the '>' selector on displays with larger fonts (e-ink sz1 scale=2).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-22 18:13:27 +02:00
co-authored by Claude Sonnet 4.6
parent 744f263932
commit f8fb1dac99
@@ -234,7 +234,7 @@ class SettingsScreen : public UIScreen {
display.setCursor(0, y); display.setCursor(0, y);
display.print(sel ? ">" : " "); display.print(sel ? ">" : " ");
display.setCursor(8, y); display.setCursor(display.getCharWidth() + 2, y);
if (item == BRIGHTNESS) { if (item == BRIGHTNESS) {
display.print("Bright"); display.print("Bright");