Reputation: 13
I'm facing the following problems:
I've implemented it with NSMatrix, and apart from it looking pretty shabby, I'm faced with some visual issues I don't know how to solve.
The visual issue is every time I move the mouse over the NSTextFieldCell the tokens get drawn on the top left corner of the NSMatrix form.
now, I'm considering moving to another type of control,
I've googled for few hours, and found the following controls: NSForm, NSMatirx (parent of NSForm), NSCollectionView, NSTableView
which one of these is the most appropriate for this task?
I hope I am clear since I wanted to add pictures, but it wouldn't let me due to lack of "reputation points".
Thanks for your help, Eyal.
Upvotes: 0
Views: 182
Reputation: 2134
NSTokenField
is a subclass of NSTextField
so you could use an NSTableView
to display them.
You could also draw a custom NSCell
with all elements in it. When each "item" has a different number of elements then this becomes a bit more complicated though.
Upvotes: 0