views:

132

answers:

2

Is it possible to get scroll bars on an NSTokenField when there are too many items to display?

I've tried embedding it in a scroll view but it doesn't work.

Thanks

A: 

NSTokenField is a subclass of NSTextField, which does not have scroll bars. It seems quite unlikely that NSTokenField would have scroll bars.

Alex
A: 

You can get scroll bars in an NSTokenField by inserting the scroll view into the token field. You also have to do the resizing of the token field yourself. Also, make sure the wraps functionality of the token field is turned on.

Hank Gillette