Hi,
I have a frame with a number of centre panes in a vertical layout, which works great (similarly to the old wxFoldBar from contrib). I can view any combination of panes, hide panes, and quickly maximize and restore a pane. There's just one problem - none of the sashes work, for resizing the panes.
I commented out the first wxAUI_DOCK_CENTER test in wxAuiManager::OnLeftDown, namely:
if (part->dock && part->dock->dock_direction == wxAUI_DOCK_CENTER)
return;
and now it works fine. Is there any bad side-effect of this, does anyone know, or can I commit this to SVN? I haven't been able to detect a problem with it. Or is there another way of achieving a vertical stack of panes without using centre panes but still have space distributed evenly amongst them when the frame is resized?
Thanks,
Julian
Kirix Support Forums
Resizing multiple centre panes
2 posts
• Page 1 of 1
- Julian Smart
- Registered User
- Posts: 17
- Joined: Sun Nov 05, 2006 4:45 pm
Re: Resizing multiple centre panes
Hi Julian,
The multiple center-paned concept kind of developed over time. At the beginning, we thought people would only use one center pane. However, it turns out that people use multiple center panes all the time.
If you don't detect any adverse side effect, feel free to uncomment that test condition.
All the best,
Ben
The multiple center-paned concept kind of developed over time. At the beginning, we thought people would only use one center pane. However, it turns out that people use multiple center panes all the time.
If you don't detect any adverse side effect, feel free to uncomment that test condition.
All the best,
Ben
Ben Williams
Kirix Support Team
Kirix Support Team
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
2 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback