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.
我在我的 Mac OS X 应用程序中编辑了一些 NSButton,并为它们设置了自定义图像。图像为具有透明度的 png 格式。当我选择一个按钮时,图像的背景变为白色。
有谁知道解决这个问题的方法?
问题是我正在自定义一个“斜角”按钮。我将按钮挡板更改为“方形”并将按钮类型更改为“瞬时更改”。
希望这对将来的某些人有所帮助!