NSTokenField multiline display error

NSTokenField works not very well

I insert NSTokenFieldin NSView, when the input has enough tokens, it turns into multi-line mode, but there is a problem with it. The top of the first line is turned off by 2px, and the distance between the two lines is getting too small.

Is there any way to avoid this?

+5
source share
1 answer

NSTokenField is very private to configure, so I ended up using my own token field.

I made it open source. I configured it based on my requirements, you can extend it further as you want.

Download Source

Hope this helps.

+4
source

All Articles