[wxPython] wxDialog layouts with wxBoxSizer don't seem to wor k any more?

Thanks. That does the trick. Probably should have a wxPython note on that
somewhere in the docs (possibly the remarks section on wxDialog's reference
page?)

Enjoy,
Mike

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Saturday, July 29, 2000 1:08 PM
To: wxpython-users@wxwindows.org
Subject: Re: [wxPython] wxDialog layouts with wxBoxSizer don't seem to
work any more?
...
Add a call to self.Layout() at the end of your dialog's __init__ method.
AutoLayout normally happens in a window's OnSize, but the dialog is fixed
size and is already fixed by the time you set the sizer.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users