wxSplitterWindow to fill up its avalible space

Max Erickson maxume at yahoo.com
Thu Apr 3 15:20:41 EST 2003


"Tim Gahnström /Bladerman" <tim at bladerman.com> wrote in
news:6I%ia.3871$Du.12407 at newsc.telia.net: 

> Hi
> I have put a wxSplitterWindow in a wxBoxSizer together with a panel.
> My problem is that I must set the splitterWindowsize by hand when I
> create it
> 
>     wxSplitterWindow(self, -1, size=(300,300))
> 
> Otherwise it gets no size at all. If I just put two panels there



Are you adding any children to the splitter? It will take sizing cues from 
them...




More information about the Python-list mailing list