Kirix Support Forums

How to resize center pane?

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

How to resize center pane?

Postby zura on Tue Dec 22, 2009 8:40 am

Hello,

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
zura
Registered User
 
Posts: 1
Joined: Thu Dec 17, 2009 9:52 am

Return to wxAUI Questions, Thoughts & Feedback