summaryrefslogtreecommitdiff
path: root/vcl/osx/salframe.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-04-17 14:49:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-22 09:50:46 +0200
commit3c6a53b9ce64180b2a03e097c1844f7496f26815 (patch)
tree372ac39d17681164bb856568e65a2b08a567ebb1 /vcl/osx/salframe.cxx
parent4af2fa2a8be04f2c0070f5d61ac296d3a6ea9c7a (diff)
improve the look of the macOS combobox
Change-Id: I4484fabcf6d883deeb3e417e46ce3973f2332f94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114251 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx/salframe.cxx')
-rw-r--r--vcl/osx/salframe.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 984ff8c5f5be..574122a1a91d 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1283,6 +1283,11 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
aStyleSettings.SetMenuBarRolloverTextColor( aMenuTextColor );
aStyleSettings.SetMenuBarHighlightTextColor(aStyleSettings.GetMenuHighlightTextColor());
+ aStyleSettings.SetListBoxWindowBackgroundColor( aBackgroundColor );
+ aStyleSettings.SetListBoxWindowTextColor( aMenuTextColor );
+ aStyleSettings.SetListBoxWindowHighlightColor( aMenuHighlightColor );
+ aStyleSettings.SetListBoxWindowHighlightTextColor( aMenuHighlightTextColor );
+
// Set text colors for buttons and their different status according to OS settings, typically white for selected buttons,
// black otherwise