Changeset [b8ae14d3a837557e364ddade6a167c1c36ac718e] by Aparajita Fishman
Revision b8ae14d3a837557e364ddade6a167c1c36ac718e,
committed by Aparajita Fishman
· October 8th, 2010 @ 04:17 AM
Fixes and more tests:
-
Fixed _minimumFrameSize to take into account bezel and line break mode.
-
Added test to show how sizeToFit was broken for multi-line labels in the old code.
-
Added test to verify that behavior is correct for single-line labels. https://github.com/280north/cappuccino/commit/b8ae14d3a837557e364dd...
4 changed files
-
M
AppKit/CPTextField.j -
M
Tests/Manual/CPTextFieldHeightTest/AppController.j -
M
Tests/Manual/CPTextFieldHeightTest/Resources/MainMenu.cib -
M
Tests/Manual/CPTextFieldHeightTest/Resources/MainMenu.xib