def minimumSizeHint(self):
        base = self._min_text_size
        if not base.isValid():
            metrics = self.fontMetrics()
            text = self._computeElidedText(self._text)
            base = QSize(metrics.width(text), metrics.height())
            self._min_text_size = base
        left, top, right, bottom = self.getContentsMargins()
        return base + QSize(left + right, top + bottom)
Get the minimum size hint for the text label.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/docking/q_text_label.py/QTextLabel.minimumSizeHint