Hi All
I have two panel add to aui:
window1= wx.Panel(self, -1, size=(500, 400))
api = wx.aui.AuiPaneInfo()
self.__auiMgr.AddPane(window1, api.Caption(“win1”).CentrePane().BestSize((500,400)))
window2 = wx.Panel(self, -1, size=(500,100))
api = wx.aui.AuiPaneInfo()
self.__auiMgr.AddPane(window2, api.Caption("win2").CentrePane().BestSize((500,100)))
First, the panel’s size setting not work: (500,400) and (500, 100)
then add BestSize, not work also, the win1 and win2 have same height when show.
I also tried SetDockSizeConstraint(0.5, 0.1), still not work.
platform:
wxPython 2.8.10 unicode
python 2.6.4
Window XP
Thanks