code: def get_min_size(self):
          
          if self.visible == False:
              return 0, 0
          else:
              return ((self.min_width or 0) + self.horizontal_padding + self.margin_left + self.margin_right,
                      (self.min_height or 0) + self.vertical_padding + self.margin_top + self.margin_bottom)
docs: returns size required by the widget