I ran into the same problem a couple of months ago. The way I found to do it is to set the Size property on the panel to some value, layout(), set it back to the original size, and layout(). It's a kludge workaround but until wxPython fixes the problem it's what I used.
Nate L. On Wed, May 21, 2008 at 2:54 AM, Ed Leafe <[EMAIL PROTECTED]> wrote: > Running into a problem: I have a design that contains a > dScrollPanel, > to which I want to add various controls. As the number of added > controls requires more room than can be displayed, I want the scroll > bars to become visible. I've tried calling layout() and refresh(), but > neither have any effect. If I manually resize the form, though, the > scrollbars magically appear. > > Does anyone know a programmatic way to tell a wx.ScrolledWindow to > update its scrollbars? > > -- Ed Leafe > > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
