forked from AuroraMiddleware/gtk
Paint GtkFrame background
It already paints the css border, so let's make it also honor css background. This is needed to have a box of a different color around some widgets (e.g. latest gnome-clocks design)
This commit is contained in:
parent
3dfce49032
commit
751a330ad8
@ -689,6 +689,8 @@ gtk_frame_draw (GtkWidget *widget,
|
||||
width = priv->child_allocation.width + padding.left + padding.right;
|
||||
height = priv->child_allocation.height + padding.top + padding.bottom;
|
||||
|
||||
gtk_render_background (context, cr, x, y, width, height);
|
||||
|
||||
if (priv->shadow_type != GTK_SHADOW_NONE)
|
||||
{
|
||||
if (priv->label_widget)
|
||||
|
Loading…
Reference in New Issue
Block a user