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. |
---|
|
extras/edu/umd/cs/piccolox/PFrame.java |
---|
tests/PFrameTest.java 0 → 100644 |
---|
tests/RunAllUnitTests.java |
---|