2008-03-11 Alberto Ruiz <aruiz@gnome.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
Take thickness into account in the size allocation of the child widgets in
list mode.
Fixes #521442
svn path=/trunk/; revision=19747
+2008-03-11 Alberto Ruiz <aruiz@gnome.org>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
+ Take thickness into account in the size allocation of the child widgets in
+ list mode.
+ Fixes #521442
+
2008-03-11 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
}
}
+ child.x += shadow_width;
+ child.y += shadow_height;
+ child.width -= shadow_width * 2;
+ child.height -= shadow_height * 2;
+
child.width = MAX (1, child.width);
child.height = MAX (1, child.height);
+
gtk_widget_size_allocate (GTK_BIN (combo_box)->child, &child);
}
}