diff --git a/src/components/themes/lyra/LyraTheme.cpp b/src/components/themes/lyra/LyraTheme.cpp index 7fc5a6f1..722ed6db 100644 --- a/src/components/themes/lyra/LyraTheme.cpp +++ b/src/components/themes/lyra/LyraTheme.cpp @@ -203,16 +203,18 @@ void LyraTheme::drawButtonHints(GfxRenderer& renderer, const char* btn1, const c const char* labels[] = {btn1, btn2, btn3, btn4}; for (int i = 0; i < 4; i++) { - // Only draw if the label is non-empty const int x = buttonPositions[i]; - renderer.fillRect(x, pageHeight - buttonY, buttonWidth, buttonHeight, false); if (labels[i] != nullptr && labels[i][0] != '\0') { + // Draw the filled background and border for a FULL-sized button + renderer.fillRect(x, pageHeight - buttonY, buttonWidth, buttonHeight, false); renderer.drawRoundedRect(x, pageHeight - buttonY, buttonWidth, buttonHeight, 1, cornerRadius, true, true, false, false, true); const int textWidth = renderer.getTextWidth(SMALL_FONT_ID, labels[i]); const int textX = x + (buttonWidth - 1 - textWidth) / 2; renderer.drawText(SMALL_FONT_ID, textX, pageHeight - buttonY + textYOffset, labels[i]); } else { + // Draw the filled background and border for a SMALL-sized button + renderer.fillRect(x, pageHeight - smallButtonHeight, buttonWidth, smallButtonHeight, false); renderer.drawRoundedRect(x, pageHeight - smallButtonHeight, buttonWidth, smallButtonHeight, 1, cornerRadius, true, true, false, false, true); }