From 3c6a53b9ce64180b2a03e097c1844f7496f26815 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 17 Apr 2021 14:49:43 +0200 Subject: improve the look of the macOS combobox Change-Id: I4484fabcf6d883deeb3e417e46ce3973f2332f94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114251 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- vcl/osx/salframe.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/osx/salframe.cxx') 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 -- cgit