Kaydet (Commit) 3fa5787d authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Caolán McNamara

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/7768Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1a37a61b
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment