From 722716c9eeb4987bd19ad42684443883993cacb4 Mon Sep 17 00:00:00 2001 From: jak1 Date: Tue, 2 Jun 2020 00:53:50 +0200 Subject: added themeColors so textPopups (so all are readable with darker themes too) --- src/gui/popups/textboxpopup.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/gui/popups/textboxpopup.cpp b/src/gui/popups/textboxpopup.cpp index 7571704f9..52e046cd9 100644 --- a/src/gui/popups/textboxpopup.cpp +++ b/src/gui/popups/textboxpopup.cpp @@ -46,6 +46,9 @@ void TextBoxPopup::postInit() setMinHeight(fontHeight); mTextBox->setEditable(false); mTextBox->setOpaque(Opaque_false); + mTextBox->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); add(mTextBox); addMouseListener(this); } -- cgit v1.2.3-70-g09d2