Hi,
Is it possible to have the frame manager respect pane widths when docking a pane on the Bottom?
I want to place two panes in the Bottom dock, where one of the panes is stretchable and the other is fixed. However, no matter I try (setting Min/Max/Best Size, setting Fixed(), etc.), the frame manager always seems to split the horizontal space evenly between all panes docked on the bottom. If I dock the pane on the left or right, the fixed width of my pane is respected.
Any help appreciated.
Thanks,
-Antony Courtney
Kirix Support Forums
Fixed width panes in horizontal docks
4 posts
• Page 1 of 1
- antony
- Registered User
- Posts: 3
- Joined: Fri Jun 09, 2006 6:56 am
Re: Fixed width panes in horizontal docks
You may have much better luck by setting the pane proportion of the two panes.
Min size remains at this writing unimplemented. We haven't forgotton about that.
All the best,
Ben
Min size remains at this writing unimplemented. We haven't forgotton about that.
All the best,
Ben
antony wrote:Hi,
Is it possible to have the frame manager respect pane widths when docking a pane on the Bottom?
I want to place two panes in the Bottom dock, where one of the panes is stretchable and the other is fixed. However, no matter I try (setting Min/Max/Best Size, setting Fixed(), etc.), the frame manager always seems to split the horizontal space evenly between all panes docked on the bottom. If I dock the pane on the left or right, the fixed width of my pane is respected.
Any help appreciated.
Thanks,
-Antony Courtney
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
how do you set the proportion?
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++
I want a legal copy of VS Professional!
Project Administrator for the UPX GUI and developer for wxDev-C++
I want a legal copy of VS Professional!
- Joel
- Registered User
- Posts: 37
- Joined: Mon Jan 09, 2006 1:32 pm
- Location: Singapore
Hi,
You can set the dock_proportion member of wxPaneInfo. Make sure to set the proportion values large enough so that you have a small enough granularity. In other words, set it to something like 10000 and 20000, not 1 and 2.
Best,
Ben
You can set the dock_proportion member of wxPaneInfo. Make sure to set the proportion values large enough so that you have a small enough granularity. In other words, set it to something like 10000 and 20000, not 1 and 2.
Best,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
4 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback