Fix issue #7: PFrame sets canvas size too large for the window
* Changed the contentResized handler to use the contentPage bounds rather than the frame bounds to resize the Canvas.
* Also added a unit test that makes sure the Canvas fits within the frame bounds.
1 parent 97fc0f1 commit cd87821d67a6870489f35236cc27d5073139752f
@Stephen Chin Stephen Chin authored on 8 Jul 2008
Showing 3 changed files
View
extras/edu/umd/cs/piccolox/PFrame.java
View
tests/PFrameTest.java 0 → 100644
View
tests/RunAllUnitTests.java