Commit f35ec115 authored by Benjamin Otte's avatar Benjamin Otte

label: Include all of the allocation in the clip

Otherwise, the CSS background we draw would be clipped if the ink rect
was smaller than the allocation (a very common thing).

Broken since 37030a77 where we clipped
to the ink rect.
parent 0be93f8e
......@@ -3996,6 +3996,7 @@ gtk_label_size_allocate (GtkWidget *widget,
}
gtk_label_get_ink_rect (label, &clip_rect);
gdk_rectangle_union (&clip_rect, allocation, &clip_rect);
gtk_widget_set_clip (widget, &clip_rect);
}
......
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