Example #1
0
 def GetWidth(self, element):
     if self.__IsTrue(element):
         return CSimpleContainer.GetWidth(self, element)
     return 0
Example #2
0
 def GetWidth(self, element):
     return CSimpleContainer.GetWidth(self, element) + 2 * self.padding