how to customize NSTokenField like in "To/ CC" fields in mac mail?

Posted by Miraaj on Stack Overflow See other posts from Stack Overflow or by Miraaj
Published on 2010-02-25T10:47:13Z Indexed on 2010/06/17 21:13 UTC
Read the original article Hit count: 264

Filed under:
|
|
|

Hi all,

I am able to work with NSTokenField, it is easy to use.. but I want your suggestions on how can I customize it just like it is in "To/ CC" fields in mac mail ie. when no. of tokens in a token field increases height of "To" field gets increased to a certain limit then a vertical scroller starts appearing!

By default when we use a token field neither its height gets increased nor a vertical scroller appears! I tried different combinations in IB but I could not obtain mac mail like functionality.

Can anyone suggest me some solution for it??

Thanks,

Miraaj

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about nstokenfield