Kaydet (Commit) 33bd6c3e authored tarafından Tamás Zolnai's avatar Tamás Zolnai

Make line color consitent between CategoryListBox and simple ListBox

Line color is changed in CategoryListBox::UserDraw() method so we
need to explicitely specify it here too.

Change-Id: Ia3dcbf70e0a53cfba16d5d2df0fc2e4d7e23ad71
Reviewed-on: https://gerrit.libreoffice.org/47083Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst 63099940
......@@ -1699,6 +1699,7 @@ void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32
{
rRenderContext.SetTextColor(!IsEnabled() ? rStyleSettings.GetDisableColor() : rStyleSettings.GetHighlightTextColor());
rRenderContext.SetFillColor(rStyleSettings.GetHighlightColor());
rRenderContext.SetLineColor();
rRenderContext.DrawRect(aRect);
}
else
......
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