wxSplitterWindow to fill up its avalible space
Tim Gahnström /Bladerman
tim at bladerman.com
Thu Apr 3 14:12:02 EST 2003
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 instead,
they fill upp al avaliable space nicely and I am sure there is an easy way
to get the splitterWindow to do the same but I cannot seem find it.
I can add the splitterWindow with a large proportionparameter like this
sizerBox.Add(splitterWin , 10)
I works somewhat, it makes the avalible space larger but it doesnt scale up
the splitterwindow. Must the scaling of the splitterWindow be done manually
in repaint or something?
Thanks
Tim
More information about the Python-list
mailing list