Changeset [2210c1f4c59b14ab9c10575c6603fffefa20341b] by Alexander Ljungberg
October 21st, 2010 @ 08:56 AM
Implemented token field overflow support as in Cocoa: if more tokens than can fit are entered, they wrap to a new line. If the new line does not fit within the height of the token field, the previous line is scrolled out of view.
Note: this replaces the previous non Cocoa behaviour where the
token field would grow height-wise with new tokens. This behaviour
can still be useful, as seen in Apple Mail, but it will now require
the user to subclass CPTokenField, override layoutSubview and set
the frame size to the size of the scroll view's document view.
https://github.com/280north/cappuccino/commit/2210c1f4c59b14ab9c105...
Committed by Alexander Ljungberg
- M AppKit/CPTokenField.j
- M AppKit/Themes/Aristo/ThemeDescriptors.j
- M Tests/Manual/CPTokenFieldTest/AppController.j
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.