From 8bf7b7e39e36a617ea1c1394be2561a4141f4a6b Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sat, 4 Dec 2021 20:39:16 +0100 Subject: [PATCH] Better spacing of buttons --- main/displays/popups/alertdisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/displays/popups/alertdisplay.cpp b/main/displays/popups/alertdisplay.cpp index f1c4c4f..bc45283 100644 --- a/main/displays/popups/alertdisplay.cpp +++ b/main/displays/popups/alertdisplay.cpp @@ -77,7 +77,7 @@ void AlertDisplay::initOverlay() espgui::tft.color565(100, 100, 100), espgui::tft.color565(170, 170, 170)); - espgui::tft.drawString("Yes", leftMargin + 16, bottom - 39); + espgui::tft.drawString("Yes", leftMargin + 18, bottom - 37); espgui::tft.drawSunkenRect(leftMargin + 15 + ((width - 15 - 30 - 15) / 2) + 15, bottom - 40, (width - 15 - 10 - 15) / 2, @@ -86,7 +86,7 @@ void AlertDisplay::initOverlay() espgui::tft.color565(100, 100, 100), espgui::tft.color565(170, 170, 170)); - espgui::tft.drawString("No", leftMargin + 15 + ((width - 15 - 30 - 15) / 2) + 15 + 1, bottom - 39); + espgui::tft.drawString("No", leftMargin + 18 + ((width - 15 - 30 - 15) / 2) + 15 + 1, bottom - 37); } void AlertDisplay::closeOverlay()