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.
我尝试将按钮和分段控件添加到工具栏中,但它们的渲染效果很差(图像以获得更好的想象力) - 太薄了,无论我做什么,我都设置了 NSToolbarItem 的最大和最小尺寸,没有任何效果。知道有什么问题吗?
解决这个问题的唯一方法是手动找到正确的大小,因为 mac 渲染机器正在计算正确的大小(字体和文本)+填充。