grid-layout: Insert new rows/columns at the appropriate position

This commit is contained in:
Bastian Winkler 2012-06-12 14:30:00 +02:00
parent 7c8f761d43
commit 1bdd214811

View File

@ -370,6 +370,8 @@ clutter_grid_request_update_child_attach (ClutterGridRequest *request,
}
sibling = clutter_actor_get_previous_sibling (actor);
if (sibling)
clutter_grid_layout_insert_next_to (request->grid, sibling, side);
grid_attach_next_to (request->grid, actor, sibling, side,
CHILD_WIDTH (grid_child),
CHILD_HEIGHT (grid_child));