Sizers VS window size
Brian Victor
bhv1 at psu.edu
Tue Feb 22 11:59:40 EST 2005
Deltones wrote:
> However, if I add this part from the tutorial, I get a much smaller
> window. Why is there an interference with the result I want when
> adding the sizer code?
[snip]
> self.sizer.Fit(self)
As noted in the the docs for Fit(): "Tell the sizer to resize the window
to match the sizer's minimal size." Take this call out and the size
should be as you expect.
--
Brian
More information about the Python-list
mailing list