vcl/source/app/settings.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bf731dedfad5f498e4eebdc9fbf776c6e10eafce
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Jul 1 13:58:07 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Jul 4 14:18:42 2022 +0200

    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.gran...@collabora.co.uk>

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;

Reply via email to