From fa724cb884ce0069a317b3465bc0e1bfa9e5320e Mon Sep 17 00:00:00 2001 From: philmoz Date: Thu, 28 Sep 2023 21:32:39 +1000 Subject: [PATCH] Remove unnecessary scrolling on trainer setup page. --- radio/src/gui/colorlcd/radio_trainer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/gui/colorlcd/radio_trainer.cpp b/radio/src/gui/colorlcd/radio_trainer.cpp index 0c06e7c4863..40e2cee0646 100644 --- a/radio/src/gui/colorlcd/radio_trainer.cpp +++ b/radio/src/gui/colorlcd/radio_trainer.cpp @@ -91,7 +91,11 @@ void RadioTrainerPage::build(FormWindow * form) } auto line = form->newLine(&grid); +#if LCD_H > LCD_W line->padTop(10); +#else + line->padTop(6); +#endif // Trainer multiplier auto lbl = new StaticText(line, rect_t{}, STR_MULTIPLIER, 0, COLOR_THEME_PRIMARY1);