Hi all,
I’m working on a problem where I’m using the foldpanelbar (from agw library) and I have two fold panels. I would like them to automatically share the available space evenly, or if one is closed, the other should expand to fill the available space. Then of course, when the second one is opened they should go back to using half of the available space each.
They only use up the space required by the widgets inside them. I’d like the widgets to be able to expand with them.
I have been trying with sizers and wx.EXPAND flags etc. Perhaps I need to override an event or two?
Help would be greatly appreciated. In the attached code, the foldpanelbar code is in the SidePanel and DataPanel classes.
Regards,
Edward
testfp.py (4.26 KB)