Make BorderLayout useful for laying out grids.

Give all children size before calling enterDocument(), otherwise the
grid won't know its size and therefore how many rows should be created
during enterDocument().