refreshing a sizer?

Alec Bennett whatyoulookin at yahoo.com
Mon Nov 19 08:14:10 PST 2007


I'm making a sort of slideshow application and have an
interesting problem: when I swap out the first
wx.Image, the sizer adjusts and keeps the image
centered vertically and horizontally. But when the
second image swaps out, the sizer doesn't fix the
centering...

If I resize the window, however, the sizer does its
job and centers everything.

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 pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  http://overview.mail.yahoo.com/




More information about the wxpython-users mailing list