Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当要显示的项目太多时,是否可以在 NSTokenField 上获得滚动条?
我尝试将它嵌入到滚动视图中,但它不起作用。
谢谢
您可以通过将滚动视图插入令牌字段来获得 NSTokenField 中的滚动条。您还必须自己调整令牌字段的大小。此外,请确保令牌字段的包装功能已打开。
NSTokenField是 的子类NSTextField,它没有滚动条。似乎不太可能NSTokenField有滚动条。
NSTokenField
NSTextField