def set_minimum_size(self, min_size):
        """ Sets the minimum size of the widget.

        """
        # QWidget uses (0, 0) as the minimum size.
        if -1 in min_size:
            min_size = (0, 0)
        self.widget.setMinimumSize(QSize(*min_size))
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_widget.py/QtWidget.set_minimum_size/original