def size ( self ) : width = max ( map ( lambda x : x . size ( ) [ 0 ] , self . sections . itervalues ( ) ) ) height = sum ( map ( lambda x : x . size ( ) [ 1 ] , self . sections . itervalues ( ) ) ) return width , height
python view it size must be a divisor of the total size
Return the viewable size of the Table as
def size(self):
        """Return the viewable size of the Table as @tuple (x,y)"""
        width = max(
            map(lambda x: x.size()[0], self.sections.itervalues()))

        height = sum(
            map(lambda x: x.size()[1], self.sections.itervalues()))

        return width, height