private void construct() {
		if (orientation == HORIZONTAL) {
			int space = dims.width / items.size();
			for (int i = 0; i < items.size(); i++) {
				Dimension itemDims = items.get(i).getDims();
				items.get(i).setPosition(new Vector(space/2 + space*i - itemDims.width/2 + position.x,position.y + (dims.height - itemDims.height)/2));
			}
		} else if (orientation == VERTICAL) {
			int space = dims.height / items.size();
			for (int i = 0; i < items.size(); i++) {
				Dimension itemDims = items.get(i).getDims();
				items.get(i).setPosition(new Vector(position.x + (dims.width - itemDims.width)/2,space/2 + space*i - itemDims.height/2 + position.y));
			}
		}
		isConstructed = true;
	}