[Libreoffice-commits] core.git: sw/source
Joren De Cuyper
joren.libreoffice at telenet.be
Sun Feb 2 06:19:23 PST 2014
sw/source/ui/misc/swruler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3fa5787df6c40625be12c20fd8b59374e7f538f0
Author: Joren De Cuyper <joren.libreoffice at telenet.be>
Date: Fri Jan 31 15:02:24 2014 +0100
fdo#70159 Comments label: Use darker color when not highlighted
See screenshots 'before' and 'after' applying this patch in bug report.
The contrast was to low when the comments ruler button isn't highlighted
Make use of the DarkShadowColor, which is as far I can see also used
for the ruler of the document.
Change-Id: I730f9a8320cbd424c14f4cb0dc68b7f14c1df0b2
Reviewed-on: https://gerrit.libreoffice.org/7768
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/ui/misc/swruler.cxx b/sw/source/ui/misc/swruler.cxx
index b1035c9..8f628eb 100644
--- a/sw/source/ui/misc/swruler.cxx
+++ b/sw/source/ui/misc/swruler.cxx
@@ -134,7 +134,7 @@ void SwCommentRuler::DrawCommentControl()
}
// Draw label
- Color aTextColor = GetFadedColor( rStyleSettings.GetButtonTextColor(), rStyleSettings.GetDeactiveTextColor() );
+ Color aTextColor = GetFadedColor( rStyleSettings.GetButtonTextColor(), rStyleSettings.GetDarkShadowColor() );
maVirDev.SetTextColor( aTextColor );
// FIXME Expected font size?
maVirDev.DrawText( aLabelPos, aLabel );
More information about the Libreoffice-commits
mailing list