sc/source/ui/view/hdrcont.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 652772ee4e76ff5d3aa0c599ec0bbe11d7bbee94 Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Thu Mar 24 09:36:56 2022 +0100 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Thu Mar 24 14:52:32 2022 +0100 Resolves tdf#147515 - Make header text readable on dark themes COL_LIGHTBLUE works well for bright themes but is too dark in case of dark themes Change-Id: I7fe317da4d67c1d8a5c0330320a10206a003b4ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132028 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx index b2b4263c055f..f2799b6449fc 100644 --- a/sc/source/ui/view/hdrcont.cxx +++ b/sc/source/ui/view/hdrcont.cxx @@ -228,7 +228,8 @@ void ScHeaderControl::Paint( vcl::RenderContext& /*rRenderContext*/, const tools Color aTextColor = rStyleSettings.GetButtonTextColor(); Color aSelTextColor = rStyleSettings.GetHighlightTextColor(); - Color aAFilterTextColor = COL_LIGHTBLUE; // color of filtered row numbers + Color aAFilterTextColor = rStyleSettings.GetButtonTextColor(); + aAFilterTextColor.Merge(COL_LIGHTBLUE, bDark ? 150 : 10); // color of filtered row numbers aNormFont.SetColor( aTextColor ); aAutoFilterFont.SetColor(aAFilterTextColor); if ( bHighContrast )