[wxPython-users] Linux Collapsible Pane Problem

Gregory Bayard gregory.bayard at gmail.com
Fri Aug 3 04:48:24 PDT 2007


Ok, thanks.  I got the work around working as I expect.  I will try to
add these details to a wxGTK specific bug.

Thanks again,
Greg

On 8/2/07, Robin Dunn <robin at alldunn.com> wrote:
> Gregory Bayard wrote:
> > Hi Everyone,
> >
> > This may be a bug, but I wanted to bounce this off the list first.
> > When the user expands a collapsible pane, some form of resize event is
> > generated (which is fine).  The problem is that the resize does not
> > appear to account for the menu bar and the new window size is too
> > short and cuts off the bottom of my controls or hides the top of my
> > controls bellow the menu bar.
> >
> > I'm running this on SuSe Enterprise Linux 9 with Python 2.4.4 and
> > wxWindows-2.8.4.0.  I browsed through the recent changes and did not
> > see anything related to this.  Here is some code which demonstrates my
> > example, keep in mind this works perfectly on Windows.
>
> It looks like the code is using lower level gtk functions to handle the
> resize, instead of doing it using wx methods which would keep track of
> menubar and the client size vs full size, etc.  Please enter a "wxGTK
> Specific" bug report about this.
>
> As a workaround I would suggest to use the wx.CP_NO_TLW_RESIZE style and
> handle the resize and layout yourself in a
> wx.EVT_COLLAPSIBLEPANE_CHANGED handler, but there is a bug in wxGTK
> 2.8.4.0 that prevents it from sending that event if that style is set.
> This has already been fixed for the next release.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>




More information about the wxpython-users mailing list