From 1e5c65f22c9a8423ec62f218806288662cc36579 Mon Sep 17 00:00:00 2001 From: mikecarper Date: Tue, 8 Sep 2026 17:38:45 -0700 Subject: [PATCH] Add spacing to reader button hints --- docs/v4_pixel5_font_trial.md | 2 +- src/helpers/ui/ReaderNavigationHint.h | 16 ++++++++-------- tools/bible/README.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/v4_pixel5_font_trial.md b/docs/v4_pixel5_font_trial.md index 66e03b014..5f5e4fb17 100644 --- a/docs/v4_pixel5_font_trial.md +++ b/docs/v4_pixel5_font_trial.md @@ -32,7 +32,7 @@ Readers without the button hint retain the y=14 origin and y=22 message text. On V4 and other single-button builds using this reader, the home screen says `hold button: inbox`. Hold the user button for about 1.2 seconds to open it. -The bottom of the reader shows `<- 2tap 1tap -> long press:exit`: double tap +The bottom of the reader shows `<- 2 tap 1 tap -> long press: exit`: double tap the button for the previous message, tap once for the next, and hold to return home. Advancing past the last message also returns home. The hint appears even when the inbox is empty and reflows onto additional lines on diff --git a/src/helpers/ui/ReaderNavigationHint.h b/src/helpers/ui/ReaderNavigationHint.h index fd6b777fe..5141e4003 100644 --- a/src/helpers/ui/ReaderNavigationHint.h +++ b/src/helpers/ui/ReaderNavigationHint.h @@ -17,21 +17,21 @@ struct ButtonReaderHintLayout { inline ButtonReaderHintLayout makeButtonReaderHintLayout( DisplayDriver& text, int line_height, int bottom) { ButtonReaderHintLayout layout = { - 0, line_height, 1, {"<- 2tap 1tap -> long press:exit", nullptr, nullptr}}; + 0, line_height, 1, {"<- 2 tap 1 tap -> long press: exit", nullptr, nullptr}}; if (text.getTextWidth(layout.lines[0]) > text.width() - && text.getTextWidth("<-2tap 1tap-> hold:exit") <= text.width()) { - layout.lines[0] = "<-2tap 1tap-> hold:exit"; + && text.getTextWidth("<-2 tap 1 tap-> hold: exit") <= text.width()) { + layout.lines[0] = "<-2 tap 1 tap-> hold: exit"; } if (text.getTextWidth(layout.lines[0]) > text.width()) { layout.line_count = 2; - layout.lines[0] = "<- 2tap 1tap ->"; - layout.lines[1] = "long press:exit"; + layout.lines[0] = "<- 2 tap 1 tap ->"; + layout.lines[1] = "long press: exit"; if (text.getTextWidth(layout.lines[0]) > text.width() || text.getTextWidth(layout.lines[1]) > text.width()) { layout.line_count = 3; - layout.lines[0] = "<- 2tap"; - layout.lines[1] = "1tap ->"; - layout.lines[2] = "hold:exit"; + layout.lines[0] = "<- 2 tap"; + layout.lines[1] = "1 tap ->"; + layout.lines[2] = "hold: exit"; } } layout.top = bottom - layout.line_count * line_height; diff --git a/tools/bible/README.md b/tools/bible/README.md index a1f47c7a9..b024ae16e 100644 --- a/tools/bible/README.md +++ b/tools/bible/README.md @@ -28,7 +28,7 @@ reader from the radio-settings page: while opening or closing the reader. The header shows the reference and part count. Single-button builds show -`<- 2tap 1tap -> long press:exit` at the bottom, matching the message reader. +`<- 2 tap 1 tap -> long press: exit` at the bottom, matching the message reader. These are taps of the user button. Narrower displays shorten or split the hint across lines; touch/joystick builds keep their own controls. The entry gesture stays hidden on the radio page. The footer has reserved space in the