[wxPython-users] AUIManager docked windows not laying out sizers properly

Robin Dunn robin at alldunn.com
Tue Aug 14 10:54:17 PDT 2007


Andrea Gavana wrote:

> The correct layout is displayed. It might be that wx.Window is missing
> some layout method with respect to wx.Panel, although I am not sure at
> all about that... 

wx.Window intentionally doesn't handle autolayout by default because 
then other non-container windows that derive from it would also handle 
autolayout by default, and that just doesn't make sense.  If for some 
reason you ever need to have a wx.Window that does layout then it is 
just a simple matter of giving it a EVT_SIZE handler that calls 
self.Layout().

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list