Esempio n. 1
0
 def get_min_size(self):
     w, h = Box.get_min_size(self)
     if self.orient_horizontal:
         return w, h
     else:
         # for vertical ones give place to the submenu indicator
         return w + 8, h
Esempio n. 2
0
 def get_min_size(self):
     w, h = Box.get_min_size(self)
     if self.orient_horizontal:
         return w, h
     else:
         # for vertical ones give place to the submenu indicator
         return w + 8, h