I have a ScrolledPanel that doesn’t initially allow scrolling when it first appears. However, if I resize the frame, the scrollbars appear and scrolling works as it should. Experimenting further, using CallLater to resize the panel to the same size a second later makes the bars appear. Time less than 200 ms don’t seem to work, and less than 300ms work sometimes. Any idea what might be causing this?
Environment is OSX on Cocoa with the current svn snapshot as of a few days ago. I’ve not yet tested this on Windows or Linux.
Please make a runnable, small as possible, sample application that demonstrates the problem. MakingSampleApps - wxPyWiki
···
On 5/17/12 5:58 PM, Steven Wallace wrote:
I have a ScrolledPanel that doesn't initially allow scrolling when it
first appears. However, if I resize the frame, the scrollbars appear and
scrolling works as it should. Experimenting further, using CallLater to
resize the panel to the same size a second later makes the bars appear.
Time less than 200 ms don't seem to work, and less than 300ms work
sometimes. Any idea what might be causing this?
Environment is OSX on Cocoa with the current svn snapshot as of a few
days ago. I've not yet tested this on Windows or Linux.