TileLayout not reflowing content?

Hi, I have a TileLayout that does not seem to be reflowing its content after they have been moved?

Dropped content just sits where they have been dropped, whilst in a Vstack or Hstack they can shift/rearrange themselves automatically.

I would like it to move like this example in the showcase:

http://www.smartclient.com/smartgwt/showcase/#effects_dd_move

here is my code:

final TileLayout homePanel = new TileLayout();

homePanel.setWidth("100%");
homePanel.setHeight("100%");
homePanel.setBackgroundColor("#99FFFF");
homePanel.setExpandMargins(true);
homePanel.setLayoutPolicy(TileLayoutPolicy.FIT);
homePanel.setTileWidth(200);
homePanel.setTileHeight(250);
homePanel.setTileMargin(20);
homePanel.setShowCustomScrollbars(true);
homePanel.setDragRepositionCursor(Cursor.MOVE);
homePanel.setCanAcceptDrop(true);

Label test1 = new Label();
Label test2 = new Label();
Label test3 = new Label();

test1.setBackgroundColor("Red");
test2.setBackgroundColor("Red");
test3.setBackgroundColor("Red");

test1.setCanDragReposition(true);
test2.setCanDragReposition(true);
test3.setCanDragReposition(true);

test1.setCanDrag(true);
test2.setCanDrag(true);
test3.setCanDrag(true);

test1.setContents(true);
test2.setCanDrag(true);
test3.setCanDrag(true);

test1.setContents("1");
test2.setContents("2");
test3.setContents("3");

homePanel.addTile(test1);
homePanel.addTile(test2);
homePanel.addTile(test3);

homePanel.draw();

little bump before I go to bed :slight_smile:

edit: TileLayout is missing “setAnimateMembers” ?

Still here!