[wxPython-users] refreshing a sizer?

Alec Bennett whatyoulookin at yahoo.com
Mon Nov 19 08:18:15 PST 2007


I take that back, the sizer isn't working when the
first image swaps out. So to restate the issue with
the correction:

I'm making a sort of slideshow application and have a
problem: when I swap out the wx.Image, the sizer
doesn't adjust, so if the new image is a different
size it won't be centered. 

If I resize the window the sizer does its job and
centers the new image.

Is there some way to tell the sizer to refresh? Or
some other way to do it?
 
I tried self.Refresh(), no help.





      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ




More information about the wxpython-users mailing list