[wxPython-users] Collapsible Pane - Behaviour

Robin Dunn robin at alldunn.com
Tue Aug 14 10:54:55 PDT 2007


Dominique wrote:
> Hello All,
> 
> I try to include a collapsible pane in a small application.
> The collapsible pane is located in a scrolled panel, which is included in a
> splitter window which is included in a frame.
> 
> The problem is that:
> 1) the collapsible button doesn't appear on the scrolledpanel once the
> "collapseBtn" is pressed. Why ?
> 2) I put a button on the scrolledpanel to unfold it.
> When pressed, the frame reduces, which is obviously not wished.
> 3) Once the frame is maximised, we can see the collapsible pane. OK
> 4) Once the collapsible pane button ("Informations - Close") is pressed, the
> frame reduces again. Why again ?

If you don't want the top-level window to be adjusted for the changes in 
the collapsible pane then use the wx.CP_NO_TLW_RESIZE style.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list