On Dec 28, 8:08 pm, "Alex Holkner" <[email protected]> wrote:
> I believe this is because you're attaching the event handler after the > window has already been displayed (and initially sized). Adding > visible=False to the constructor and calling window.set_visible() > before run() should fix the issue. Thanks for the ideas. Using the above didn't work immediately, but I did try: window.on_resize = on_resize just before I started the app loop, which fixed the problem. -Sw. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
