[wxPython-users] Resize of a grid in a collapsible pane
DomDom
BestDomDom at neuf.fr
Fri Aug 24 08:39:07 PDT 2007
Robin,
I forgot to thank you for your reply and help.
I tried to change the maxsize also without success, but for the moment, it
will be ok
Thanks again
Dominique
----- Original Message -----
From: "Robin Dunn" <robin at alldunn.com>
> It looks like the CollapsiblePane sets it's own min size when it is
> expanded or collapsed, and the min size takes precedence over the best
> size when the sizer does a layout. This works fine for the CP in normal
> usage, but since you are doing something that changes the best size then
> it breaks down. Simply changing the CP's minsize to (-1,-1) and then
> redoing the Frame's layout takes care of the problem. See my changes to
> your sample attached.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
More information about the wxpython-users
mailing list