自定义的NSButton初始化函数中:(self.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
或外部调用(button.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
自定义的NSButton初始化函数中:(self.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
或外部调用(button.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
本文标题:Mac osx 开发-NSButton去掉点击时的背景颜色 -
本文链接:https://www.haomeiwen.com/subject/puldzttx.html
网友评论