def OnSize(self, event):
    self.Layout()
    g = self.fieldsGrid
    g.SetColSize(2, (((g.GetClientSize().x - g.GetColSize(0)) - g.GetColSize(1)) - 30))
def OnSize(self, event):
    self.Layout()
    g = self.fieldsGrid
    g.SetColSize(2, (((g.GetClientSize().x - g.GetColSize(0)) - g.GetColSize(1)) - 30))