mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
GtkEventBox: Correctly handle height for width
We need to pass on the width to the child. https://bugzilla.gnome.org/show_bug.cgi?id=699140
This commit is contained in:
parent
dcb84f158b
commit
c6a5b800c2
@ -547,7 +547,7 @@ gtk_event_box_get_preferred_height_and_baseline_for_width (GtkWidget *widget,
|
||||
child = gtk_bin_get_child (bin);
|
||||
if (child && gtk_widget_get_visible (child))
|
||||
gtk_widget_get_preferred_height_and_baseline_for_width (child,
|
||||
-1,
|
||||
width,
|
||||
minimum,
|
||||
natural,
|
||||
minimum_baseline,
|
||||
|
Loading…
Reference in New Issue
Block a user