AuiManager ,left and right panel have same size

[email protected]
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>

i want to add tow panels on AuiManager ,the proprtion is 1:1

<https://lh3.googleusercontent.com/-R1TAch1H2UI/WXNQBatxhVI/AAAAAAAAAAQ/eItEOkXk9fYHb1uLkOTI7EyBHZTctWhmgCLcBGAs/s1600/JVG%255D%25284%255D%257EDALNCW9CV3VT3ZW.png>


but when i create it with below code like this:

self.mgr.AddPane(leftpanel, wx.aui.AuiPaneInfo().Center()
self.mgr.AddPane(rightpanel, wx.aui.AuiPaneInfo().Right()

the proprtion is 5:1

<https://lh3.googleusercontent.com/-K18xHjOFAGs/WXNQU8Hp4LI/AAAAAAAAAAU/gX_XgBeAgF81jVCd8o5v9LTSXTWqWAvNQCLcBGAs/s1600/%25247U%2525VZDLQ2%252981F5P9%2529SI06D.png>


how to Initialize the proportion ?


-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.