PEATDB/Tables.py
def resizeTable(self, event):
        """Respond to a resize event - redraws table"""
        if self.autoresizecols == 1 and event != None:
            self.cellwidth = (event.width - self.x_start - 24) / self.cols
            #print 'cellwidth', self.cellwidth
            self.redrawTable()
        return
Respond to a resize event - redraws table
Respond to a resize event - redraws table
Respond to a resize event - redraws table
def resizeTable(self, event):
        if self.autoresizecols == 1 and event != None:
            self.cellwidth = (event.width - self.x_start - 24) / self.cols
            self.redrawTable()
        return
def resizeTable ( self , event ) : if self . autoresizecols == 1 and event != None : self . cellwidth = ( event . width - self . x_start - 24 ) / self . cols self . redrawTable ( ) return
Respond to a resize event - redraws table
Respond to a resize event - redraws table
"""Respond to a resize event - redraws table""" #print 'cellwidth', self.cellwidth
self
event