Marquee/scroll fixes for truncated text across radar and location screens
Bundles several small local follow-ups since v3.3.0: - Radar screen aircraft detail panel: long lines (model name, distance with km/nm/mi) now scroll horizontally instead of being cut off with "..." (up to 9 independent scrolling lines, reusing the existing InfoMarquee pattern). - "Setup complete" screen: small centered "Tap to skip" hint below the countdown button, translated into all 6 languages. - Location Presets screen: long preset names/coordinates in the list now scroll left-aligned instead of being truncated with "...". - Address search confirmation screen: the found place name is no longer hard-cut at 150 characters - it's now a vertically scrollable paragraph (same pattern as the existing Location Presets info screen), since it's multi-line wrapped text rather than a single overflowing line. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,6 +84,17 @@ void run(TFT_eSPI& tft) {
|
||||
Rect startBtn = {10, btnY, (int16_t)(Config::SCREEN_WIDTH - 20), BTN_H};
|
||||
drawButtonFrame(tft, startBtn);
|
||||
|
||||
// Small, centered hint below the button that tapping it skips the
|
||||
// countdown - stays unchanged for the whole countdown
|
||||
// (drawCountdownText() only redraws inside the button, so it never
|
||||
// overwrites this text).
|
||||
tft.setTextDatum(MC_DATUM);
|
||||
tft.setTextColor(TFT_GREEN, TFT_BLACK);
|
||||
tft.setTextSize(1);
|
||||
tft.drawString(I18n::t(StringId::FIRST_RUN_COMPLETE_TAP_TO_SKIP),
|
||||
(int16_t)(Config::SCREEN_WIDTH / 2), (int16_t)(startBtn.y + startBtn.h + 12));
|
||||
tft.setTextDatum(TL_DATUM);
|
||||
|
||||
// Automatic countdown in the button instead of a tappable
|
||||
// "Flightradar" text - continues automatically into the splash
|
||||
// screen/app afterward. Tapping the button during the countdown
|
||||
|
||||
Reference in New Issue
Block a user