How to resize center pane?
For non-center panes I do (actually for enlarging..):
- Code: Select all
auiMgr.GetPane(<some pane>).MinSize(<some size>); // resize
auiMgr.Update();
auiMgr.GetPane(<some pane>).MinSize(<old min size>); // old min size..
auiMgr.Update();
BestSize did not work..
However, same trick don`t works with center pane.
Maybe there is a better way to resize non-center pane as well.
I need resizing on demand and multiple times, so initial setup of aui panes is not enough.
In case if it matters, I have following layout:
- Code: Select all
--------------------------
| | r |
| center | i |
| | g |
| | ht |
--------------------------
| bottom |
--------------------------
Regards,
Zura