Hi Anton,
I didn't port wx.FoldPanelBar but I am the original author if the
wxWidgets counterpart. I can safely say if Andrea didn't modify the
behaviour, then this is not yet present in the code. It might be nice
to have symmetrical spacing where if one is collapsed, the other two
panels are equally sized. It almost looks like sizers. Maybe it can be
solved to specify a property to the method that adds the panels to the
wxFoldPanelBar to utilize available space after all panels that have a
fixed size are calculated. You will have to consult Andrea about this
though.
With regards,
- Jorgen
ยทยทยท
On Wed, Mar 5, 2008 at 11:31 AM, Anton Blomberg <anton.blomberg@swiss.se> wrote:
I've created a simple GUI with a few FoldPanels on top of each other
using FoldPanelBar. When I minimize one FoldPanel I want all other
FoldPanels, and their contents, to resize and increase height to cover
the newly aquired space.Like this:
Starting with:
3 expanded FoldPanels with height 100.
100 + 100 + 100 = 300 total heightAnd then:
1 collapsed FoldPanel with height 0.
2 expanded FoldPanels with height 150.
0 + 150 + 150 = 300 total height.Can I do this with FoldPanelBar? If not, can I do it with sizers/some
other way?
Code snippets are welcome.Thanks,
Anton Blomberg
Swiss International
www.swiss.se---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org