summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2020-06-02 00:53:50 +0200
committerAndrei Karas <akaras@inbox.ru>2020-06-03 06:13:04 +0300
commit722716c9eeb4987bd19ad42684443883993cacb4 (patch)
tree6809ab29a95d54d57f28c5b32c4b21d32b4e0228
parent76c40c8777ef6d1228c4bdb8ab4d76f4e1eee94e (diff)
downloadplus-722716c9eeb4987bd19ad42684443883993cacb4.tar.gz
plus-722716c9eeb4987bd19ad42684443883993cacb4.tar.bz2
plus-722716c9eeb4987bd19ad42684443883993cacb4.tar.xz
plus-722716c9eeb4987bd19ad42684443883993cacb4.zip
added themeColors so textPopups (so all are readable with darker themes too)
-rw-r--r--src/gui/popups/textboxpopup.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}