wxPython.Fit() is funky.
tomas at fancy.org
Thu Jun 26 18:39:52 CEST 2003
Miki Tebeka wrote:
> > Unfortunately, this behavior means that Fit() is
> > nearly useless for me.
> Why don't you use sizers?
> They save you from doing all this stuff by yourself.
In one case in particular, I have a panel that's the size I want,
and I want the frame to fit neatly around it. Seems like
overkill to use a sizer, especially when the documentation for
Fit() implies that it does what I want.
The panel doesn't contain any controls, and I "give" that window
to Pygame/SDL anyway so wx loses control of it. It starts out
the size I want.
More information about the Python-list