summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-07-01 13:58:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-04 14:18:42 +0200
commitbf731dedfad5f498e4eebdc9fbf776c6e10eafce (patch)
treec806a5b32e706d8387dd59aac0d83a9b4670fe87 /vcl
parent268f0f3f0d70902acaeb3f99e0d206ad66ffd67c (diff)
tdf#149804 Set default listbox bg color to white
This restores white background color for list/combo boxes for the the "gen" VCL plugin after commit 3c6a53b9ce64180b2a03e097c1844f7496f26815 Date: Sat Apr 17 14:49:43 2021 +0200 improve the look of the macOS combobox Other VCL plugins and Windows, which use the system style, are covered in Change-Id I31401af38b991e7e0cdc436b894ee0f491a22752, "tdf#149804 Set newly introduced list box colors from system colors". macOS Should be unaffected by this change of the default color, since it explicitly sets one in `AquaSalFrame::UpdateSettings`. Change-Id: Ia9a660bceade683386a07c84a45a1757af38882f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136738 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/settings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 82093fcf2d65..bed7e4c90a62 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -700,7 +700,7 @@ void ImplStyleData::SetStandardStyles()
maMenuBarRolloverColor = COL_BLUE;
maMenuBorderColor = COL_LIGHTGRAY;
maMenuTextColor = COL_BLACK;
- maListBoxWindowBackgroundColor = COL_LIGHTGRAY;
+ maListBoxWindowBackgroundColor = COL_WHITE;
maListBoxWindowTextColor = COL_BLACK;
maListBoxWindowHighlightColor = COL_BLUE;
maListBoxWindowHighlightTextColor = COL_WHITE;