diff --git a/clutter/clutter/clutter-box-layout.c b/clutter/clutter/clutter-box-layout.c index bcb339bba..17b4c77d9 100644 --- a/clutter/clutter/clutter-box-layout.c +++ b/clutter/clutter/clutter-box-layout.c @@ -315,6 +315,8 @@ get_preferred_size_for_opposite_orientation (ClutterBoxLayout *self, } else { + size -= (nvis_children - 1) * priv->spacing; + /* Bring children up to size first */ if (isnormal (size) || size == 0) {