@Override
	protected Dimension getSizeSelf(LayoutSize type) {
		int width = mWidth;
		int height = mHeight;
		if (type == LayoutSize.MAXIMUM) {
			if (mGrowWidth) {
				width = Integer.MAX_VALUE;
			}
			if (mGrowHeight) {
				height = Integer.MAX_VALUE;
			}
		}
		return new Dimension(width, height);
	}