forked from AuroraMiddleware/gtk
Fix a problem with large y thickness
svn path=/trunk/; revision=17231
This commit is contained in:
parent
7f7900acea
commit
f0cb720063
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -640,7 +640,7 @@ gtk_frame_size_allocate (GtkWidget *widget,
|
||||
(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);
|
||||
|
Loading…
Reference in New Issue
Block a user