Complete wrong. The gridwidth property specifies how many columns on which the cell will span. So the solution is to set c.gridwidth = 2;