summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoren De Cuyper <joren.libreoffice@telenet.be>2014-01-31 15:02:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-02 14:19:04 +0000
commit3fa5787df6c40625be12c20fd8b59374e7f538f0 (patch)
tree2ea4e7f748ba7ba8c0ddf61c677af02151e38696
parent1a37a61be4a39079d6e9fa671d04036a56510281 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/ui/misc/swruler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/swruler.cxx b/sw/source/ui/misc/swruler.cxx
index b1035c9798c3..8f628eb6ac1a 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 );