From 93e3a29b0def54179018b45b5520d34d721f7409 Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Sat, 23 May 2026 09:54:31 +0200 Subject: [PATCH] fix: align ON/OFF/always to fixed column flush with right edge in Home Pages Column at width()-6*charWidth so "always" touches the right edge; ON and OFF start at the same x position. Co-Authored-By: Claude Sonnet 4.6 --- examples/companion_radio/ui-new/SettingsScreen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/companion_radio/ui-new/SettingsScreen.h b/examples/companion_radio/ui-new/SettingsScreen.h index 10306cdf..0d977ef6 100644 --- a/examples/companion_radio/ui-new/SettingsScreen.h +++ b/examples/companion_radio/ui-new/SettingsScreen.h @@ -378,7 +378,7 @@ class SettingsScreen : public UIScreen { display.print(pb); } display.print(homePageLabel(item)); - display.setCursor(display.valCol(), y); + display.setCursor(display.width() - 6 * display.getCharWidth(), y); if (!homePageToggleable(item)) display.print("always"); else