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.
有没有办法制作一个内容看起来像这样的 NSMenu:
1 one uno 2 two dos 3 three tres 4 four quatro
(没有在 AttributedText 项中指定等宽字体,即。)
您可以为您的菜单项定义一个自定义视图,它基本上允许您在菜单中显示您想要的任何内容,包括多列文本。
例如,请参见Apple 的这个示例。