vcl/source/window/toolbox.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 071bccd1a1aab9bb3c404824a764563ee2804682 Author: Dan Williams <[email protected]> AuthorDate: Thu Jan 8 09:17:42 2026 -0600 Commit: Dan Williams <[email protected]> CommitDate: Wed Feb 25 16:40:19 2026 +0100 vcl: make Toolbox item dropdown arrow white in high-contrast mode When HC is enabled the dropdown arrows were black on a black background, which seems pretty wrong. Change-Id: Ic2c06fe3d2373e8bc5041f3134bb864bc19af174 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196871 Tested-by: Jenkins Reviewed-by: Dan Williams <[email protected]> diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 519599eaec5d..764925fc455e 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2371,7 +2371,9 @@ static void ImplDrawDropdownArrow(vcl::RenderContext& rRenderContext, const tool if ( bSetColor ) { - if (rRenderContext.GetSettings().GetStyleSettings().GetFaceColor().IsDark()) + const StyleSettings& rStyleSettings = rRenderContext.GetSettings().GetStyleSettings(); + + if (rStyleSettings.GetFaceColor().IsDark() || rStyleSettings.GetHighContrastMode()) rRenderContext.SetFillColor(COL_WHITE); else rRenderContext.SetFillColor(COL_BLACK);
