wxAuiManager is a very nice control.
I use after https://www.kirix.com/labs/wxaui/docume ... mples.html but is one big bottom window below two windows and I prefer one left window and right window divide to bottom and center. Is (center+left)+bottom and I prefer (center+bottom)+left.
Is possible change it?
How change wxAuiManager behaviour?
Re: How change wxAuiManager behaviour?
I am not sure exactly what you mean but the code to position the panes is
The panes are positioned with the wxLEFT, wxBOTTOM, wxCENTER defines.
Read the docs for wxAuiManager at https://docs.wxwidgets.org/3.0/classwx_ ... 2cf487ffb3
Code: Select all
// add the panes to the manager
m_mgr.AddPane(text1, wxLEFT, wxT("Pane Number One"));
m_mgr.AddPane(text2, wxBOTTOM, wxT("Pane Number Two"));
m_mgr.AddPane(text3, wxCENTER);
Read the docs for wxAuiManager at https://docs.wxwidgets.org/3.0/classwx_ ... 2cf487ffb3
Re: How change wxAuiManager behaviour?
But BOTTOM is below CENTER and LEFT, and what do BOTTOM should be below CENTER but not LEFT ?
Re: How change wxAuiManager behaviour?
Your best bet for understanding is to change those flags, recompile, and see how the layout changes.
Change wxLEFT to wxRIGHT, compile and see how it looks.
Change wxBOTTOM to wxTOP, compile, and see how it looks.
... and so on.
Change wxLEFT to wxRIGHT, compile and see how it looks.
Change wxBOTTOM to wxTOP, compile, and see how it looks.
... and so on.
Re: How change wxAuiManager behaviour?
I solved it by TWO managers: one manager has tree on left and panel on center. Panel has second manager with two controls center and bottom.