[wxPython-users] AUI resizing panes

Robin Dunn robin at alldunn.com
Wed Aug 22 17:08:05 PDT 2007


Tim Ansell wrote:
> Hello,
> 
> I would like to programmatically resize panes in an AUI layout.
> 
> I have tried using MaxSize, MinSize, BestSize, Resizable and Fixed but
> none seem to work after a Pane has been created. I am definitely calling
> the Update method after changing these values.
> 
> Any ideas on how you are suppose to do this?
> 

If the pane is docked then setting the minsize and then calling the 
manager's Update method should do it.  If it is floating then you may 
have to do something like changing the child window's minsize and then 
calling Fit on its parent (the floating frame).


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





More information about the wxpython-users mailing list