wxSizer: Define sizer hierarchie before putting controls in or vice versa?

Ed Leafe ed at leafe.com
Mon Sep 6 12:59:19 EDT 2004


On Sep 5, 2004, at 10:23 AM, Piet wrote:

> Or doesn´t it make any difference and all
> the sizes and sizers are calculated anyways when the
> wx.Window.SetSizer(wx.Sizer),wx.Window.SetAutoLayout(True) and
> wx.Sizer.Fit(wx.Window) functions are run before before the window is
> finally made visible?

	In my experience, it doesn't make any difference. Perhaps there is a 
minor performance advantage one way or the other, but not enough for me 
to ever worry about.

      ___/
     /
    __/
   /
  ____/
  Ed Leafe
  http://leafe.com/
  http://dabodev.com/




More information about the Python-list mailing list