Form.setMaximumSize

Form.setMaximumSize(self, arg__1: PySide2.QtCore.QSize) None
Form.setMaximumSize(self, maxw: int, maxh: int) None