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.tietze@documentfoundation.org>
This commit is contained in:
committed by
Heiko Tietze
parent
882045b934
commit
652772ee4e
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user