diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-01-19 07:49:24 -0500 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-11-13 21:45:44 +0100 |
commit | aa3240f97b5cd018013dae20bbb01d47dca67290 (patch) | |
tree | 279fd1fce5fab85b08429d9f2d3528f67c627c3c /vcl/qt5 | |
parent | widget theme: Gradient support when drawing widgets (diff) | |
download | core-aa3240f97b5cd018013dae20bbb01d47dca67290.tar.gz core-aa3240f97b5cd018013dae20bbb01d47dca67290.zip |
custom widgets: support custom action button text colors
Reviewed-on: https://gerrit.libreoffice.org/82276
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 8a425fbd9c6b75b09672e0ce18f43162d9eda360)
Change-Id: I314183a1d6434c043183a600740c786e22a67503
Reviewed-on: https://gerrit.libreoffice.org/82383
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index 761f77dae3b5..7f322bf9982e 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -1015,6 +1015,9 @@ void Qt5Frame::UpdateSettings(AllSettings& rSettings) // Buttons style.SetButtonTextColor(aButn); + style.SetDefaultActionButtonTextColor(aButn); + style.SetActionButtonTextColor(aButn); + style.SetActionButtonRolloverTextColor(aButn); style.SetButtonRolloverTextColor(aButn); style.SetButtonPressedRolloverTextColor(aButn); |