diff options
author | jak1 <mike.wollmann@gmail.com> | 2020-06-02 00:53:50 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-06-03 06:13:04 +0300 |
commit | 722716c9eeb4987bd19ad42684443883993cacb4 (patch) | |
tree | 6809ab29a95d54d57f28c5b32c4b21d32b4e0228 /src | |
parent | 76c40c8777ef6d1228c4bdb8ab4d76f4e1eee94e (diff) | |
download | mv-722716c9eeb4987bd19ad42684443883993cacb4.tar.gz mv-722716c9eeb4987bd19ad42684443883993cacb4.tar.bz2 mv-722716c9eeb4987bd19ad42684443883993cacb4.tar.xz mv-722716c9eeb4987bd19ad42684443883993cacb4.zip |
added themeColors so textPopups (so all are readable with darker themes too)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popups/textboxpopup.cpp | 3 |
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); } |