[wxPython-dev] 20070511 test build uploaded
Robin Dunn
robin at alldunn.com
Sat May 12 10:22:18 PDT 2007
Kevin Ollivier wrote:
> Hi Robin,
>
> One new issue I noticed is that Collapsable Pane seems to be altering
> the size of the demo frame. I see this both on Win XP and OS X, although
> it's worse on OS X as it shrinks the demo down to its minsize any time
> the collapsable pane is shown or hidden. Everything else looks fine here.
Adding the wx.CP_NO_TLW_RESIZE style will take care of it. Since AUI
uses sizers (run the demo and hit F6 to see how many there are!) and
since by default wx.CollapsiblePane will do a Layout and a Fit of the
top level window when changing state, then we end up with this nasty
resize. (I think I requested that it not be the default, or that if the
user code catches the EVT_COLLAPSIBLEPANE_CHANGED event and doesn't
Skip() that it should not do this, but apparently Francesco didn't
agree. Oh well..) We didn't see it before because the former layout of
the demo frame didn't use sizers.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list