mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Fixed wrong allocation for GTK_BUTTONBOX_END.
(allocation->x => allocation->y)
This commit is contained in:
parent
65044acefd
commit
fb430a8dc5
@ -243,7 +243,7 @@ gtk_vbutton_box_size_allocate (GtkWidget *widget,
|
||||
break;
|
||||
case GTK_BUTTONBOX_END:
|
||||
childspacing = spacing;
|
||||
y = allocation->x + allocation->height - child_height * nvis_children
|
||||
y = allocation->y + allocation->height - child_height * nvis_children
|
||||
- spacing * (nvis_children-1)
|
||||
- GTK_CONTAINER (box)->border_width;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user