diff --git a/clutter/clutter-flow-layout.c b/clutter/clutter-flow-layout.c index c2bd72de6..e6f836e57 100644 --- a/clutter/clutter-flow-layout.c +++ b/clutter/clutter-flow-layout.c @@ -525,6 +525,9 @@ clutter_flow_layout_allocate (ClutterLayoutManager *manager, gfloat, line_index); + if (line_index >= 0) + item_y += priv->row_spacing; + line_item_count = 0; line_index += 1; @@ -561,6 +564,9 @@ clutter_flow_layout_allocate (ClutterLayoutManager *manager, gfloat, line_index); + if (line_index >= 0) + item_x += priv->col_spacing; + line_item_count = 0; line_index += 1;