ExpandoTextCtrl & EVT_LAYOUT_NEEDED

Larry Bates larry.bates at websafe.com
Fri Sep 21 17:37:44 PDT 2007


I'm having problems getting this working correctly.  When ExpandoTextCtrl 
increases its vertical height (as it should) it is not resizing/reloacting the 
two listctrls that are below it.  I've tried

def OnRefit(self, evt):
     self.Fit()


def OnRefit(self, evt):
     self.Fit()
     self.Layout()

def OnRefit(self, evt):
     self.Layout()
     self.Fit()

What is odd is that if I just grab the lower right corner of the window and 
resize it even a little, everything works like a charm.  I Googled for this but 
didn't turn up anything.

Thanks in advance.

Regards,
Larry





More information about the wxpython-users mailing list