public void setBounds() {
		if(isEmpty()) {
			setBounds(0, 0, 1, 1);
		} else if(size() == 1) {
			UIBounds initBounds = get(0).getBounds();
			setBounds(initBounds.getXAsSupplier(), initBounds.getYAsSupplier(), initBounds.getWidthSupplier(), initBounds.getHeightSupplier());
		} else {
			for(UIElement e : uiElements) {
				UIBounds.merge(getBounds(), e.getBounds(), uiBounds);
			}
		}
	}