GSoC/GCI Archive
Google Code-in 2013 Copyleft Games

PySoy: Fix Canvas Size

completed by: Nikolay Lazarov

mentors: Arc Riley

Widgets should be getting sized according to their container, eg, Window widgets stack their children on top of each other such that a Canvas behind a Projector should show the Canvas image behind the 3d scene.

However, right now Canvas.size defaults to (0,0) and isn't getting resized properly, you need to do an extra step of window[0].size = window.size at creation and everytime the window is resized.

Fix that.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.