diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-11 16:17:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-11 16:19:09 +0100 |
commit | 176111160ddfbe4b6b36b300062bab156d46b211 (patch) | |
tree | 82033912430c8265982f41688b9c5119ebc875ac | |
parent | d9bf3df8143779f0caea2094efa4891370038977 (diff) |
Resolves: tdf#100250 scrollbar has no bg
Change-Id: I48e26b775337809759f8a76be7a9c457c94cd5c9
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index f320359611d9..d3becb6fbca7 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -439,6 +439,11 @@ void GtkSalGraphics::PaintScrollbar(GtkStyleContext *context, gtk_render_background(gtk_widget_get_style_context(gCacheWindow), cr, 0, 0, scrollbarRect.GetWidth(), scrollbarRect.GetHeight() ); + gtk_render_background(context, cr, 0, 0, + scrollbarRect.GetWidth(), scrollbarRect.GetHeight() ); + gtk_render_frame(context, cr, 0, 0, + scrollbarRect.GetWidth(), scrollbarRect.GetHeight() ); + gtk_render_background(pScrollbarContentsStyle, cr, 0, 0, scrollbarRect.GetWidth(), scrollbarRect.GetHeight() ); gtk_render_frame(pScrollbarContentsStyle, cr, 0, 0, |