code: def minimumSizeHint(self):
      height = super(ZoomWidget, self).minimumSizeHint().height()
      fm = QFontMetrics(self.font())
      width = fm.width(str(self.maximum()))
      return QSize(width, height)
  
label_desc: Use image node_id 2 for calling the ZoomWidget obj's underlying member method code with example usage: obj.minimumSizeHint() and returns: QSize