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