Kaydet (Commit) bb1ae405 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Caolán McNamara

tdf#90452: The correct color for the message when there's no recent file yet.

Change-Id: I5a990643903946ea339136fbc514ca8cb90fa34e
Reviewed-on: https://gerrit.libreoffice.org/16624Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst abbccd9e
......@@ -267,8 +267,9 @@ void RecentDocsView::Paint(vcl::RenderContext& rRenderContext, const Rectangle &
if (mItemList.size() == 0)
{
// No recent files to be shown yet. Show a welcome screen.
rRenderContext.Push(PushFlags::FONT);
rRenderContext.Push(PushFlags::FONT | PushFlags::TEXTCOLOR);
SetMessageFont(rRenderContext);
SetTextColor(maTextColor);
long nTextHeight = rRenderContext.GetTextHeight();
......
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