forked from AuroraMiddleware/gtk
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