@Override
	protected Dimension getSizeSelf(LayoutSize type) {
		createGrid(type);
		int width = 0;
		for (int i = 0; i < mColumns; i++) {
			width += mColumnWidths[i];
		}
		int height = 0;
		for (int i = 0; i < mRows; i++) {
			height += mRowHeights[i];
		}
		flush();
		return new Dimension(width, height);
	}