Hi all,
I’d like to ask a question about the efficient using of aui in wxPython. I’d need to set a slightly more complex layout of (approx. up to 12) panes using wx.aui.AuiManager; but while I am able to place the panes approximately, I haven’t been quite successful in a more accurate layouting.
Is it actually supposed, that any layout, which can be achieved by manually dragging panes, can also be set up programmatically?
e.g. I’d like to set the proportions of the single panes to each other, but setting BestSize(), MaxSize() MinSize() don’t seem to have the needed effect.
I checked the docks I could find on aui, e.g.
http://www.wxpython.org/docs/api/wx.aui.AuiPaneInfo-class.html
http://www.kirix.com/labs/wxaui/documentation/class-reference.html#c109
http://docs.wxwidgets.org/2.8.6/wx_wxauimanager.html
but unfortunately I haven’t been able to find a way to accomplish a more exact layout.
I guess, it wouldn’t be a good idea to save the needed layout as a perspective and loading it at the startup of the application (I think, this won’t work well on different monitors and display settings …, or am I wrong?)
Could you give me any hints, how this could be done, please? Or is this possiblya known limitation of the aui library?
Thanks in advance,
Vlasta