wxlayoutconstraints inside a wxDialog ?
Cliff Wells
logiplexsoftware at earthlink.net
Fri Feb 22 16:10:28 EST 2002
On Fri, 22 Feb 2002 21:41:28 GMT
Marcus Stojek wrote:
> I did what you said, but still the main effect is there. When the
> dialog pops up, all elements are crowded at the upper left corner.
> If I resize the dialog or add the line
>
> self.SetSize((355,205))
>
> everything jumps in place. The Doc says if I don't use
> SetAutoLayout i have to overwrite the OnSize() function
> and call Layout() myself. Fine. But I AM using SetAutoLayout
> here.
Try calling Layout() explicitly at the end of your __init__ method.
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308 (800) 735-0555 x308
More information about the Python-list
mailing list