code: def adjustMinimumWidth( self ):
          
          pw = self.pixmapSize().width()
          
          # allow 1 pixel space between the icons
          self.setMinimumWidth(pw * self.maximum() + 3 * self.maximum())
docs: Modifies the minimum width to factor in the size of the pixmaps and the
          number for the maximum.