Re: Sizers VS window size

2005-02-23 Thread Deltones
Brian Victor <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > 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) >

Re: Sizers VS window size

2005-02-22 Thread Brian Victor
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 size

Sizers VS window size

2005-02-22 Thread Deltones
Hi, I'm trying to understand one of the wiki wxPython tutorial, and I must admit I`m a bit baffled by sizers. If I run the following relevant piece of code, I get the result I expect, i.e a 800x600 window being opened (sorry for the formatting): objFrame = MainWindow(None, -1, "Small Editor", (80