mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-06 10:53:42 +00:00
This PR adds the possibility to layout or not a CPView. Previously, once setNeedsLayout was called on a CPView, it wasn't possible to cancel the layout of the view. Now we can as in cocoa. The method setNeedsLayout will still work (it calls the method setNeedsLayout: with YES). UnitTests in Tests/AppKit/CPViewTest.j
Requires objj be installed, as well as ojunit, located at http://github.com/cappuccino/ojunit
Run individual tests using a command similar to the following:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j