public void setVflex(String flex) {
        if (getHeight() != null && !(flex == null || "min".equals(flex))) {
            throw new UiException("Not allowed to set vflex and height at the same time except vflex=\"min\"");
        }
        setVflex0(flex);