mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
center box: Fix size allocation
This missing pair of parens was causing expanding children to overlap.
This commit is contained in:
parent
389535c572
commit
8316ec85f5
@ -201,7 +201,7 @@ gtk_center_box_distribute (GtkCenterBox *self,
|
||||
start_size = center_pos;
|
||||
|
||||
if (end_expand)
|
||||
end_size = size - center_pos + center_size;
|
||||
end_size = size - (center_pos + center_size);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user