svn path=/trunk/; revision=17231
+2007-01-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
+ problem with large y thickness. (#136592, Xan Lopez)
+
2007-01-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c (gtk_action_new): Use canonical
(frame->child_allocation.width - child_requisition.width - 2 * LABEL_PAD - 2 * LABEL_SIDE_PAD) * xalign + LABEL_PAD;
child_allocation.width = child_requisition.width;
- child_allocation.y = frame->child_allocation.y - child_requisition.height;
+ child_allocation.y = frame->child_allocation.y - MAX (child_requisition.height, widget->style->ythickness);
child_allocation.height = child_requisition.height;
gtk_widget_size_allocate (frame->label_widget, &child_allocation);