Sizers VS window size

Deltones vibroverb at hotmail.com
Wed Feb 23 09:19:43 EST 2005


Brian Victor <bhv1 at psu.edu> wrote in message news:<slrnd1mp6p.t0p.bhv1 at pa-steclge-u3-c3b-133.stcgpa.adelphia.net>...
> 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.

Thanks Brian, that was it. I admit I'm having quite a lot of fun
learning the Python/wxPython combo, but man is there a lot of concepts
to grasp!

Denis



More information about the Python-list mailing list