[wxPython-users] Re: frame not drawn correctly

Christopher Barker Chris.Barker at noaa.gov
Fri Jul 20 15:01:41 PDT 2007


Robin Dunn wrote:
> so the 
> automatic layout using the sizers doesn't happen until the next size 
> event or until you do it programatically.

this is sometimes fixed by a:

wx.CallAfter(self.Layout)

at the end of the Frame.__init__

That assures that the Layout is re-done after everything else.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list