@Override
	protected Dimension getSizeSelf(LayoutSize type) {
		Dimension[] sizes = getChildSizes(type);
		Dimension size = new Dimension(0, getVerticalGap() * (sizes.length > 0 ? sizes.length - 1 : 0));
		for (Dimension one : sizes) {
			size.height += one.height;
			if (one.width > size.width) {
				size.width = one.width;
			}
		}
		return size;
	}