开发者

NSButton blue highlight

i want to make on/off gradient NSButton but with blue highlight like NSTabView select buttons. 开发者_JS百科

Is it possible to make this easy way?

Or i should draw this manually?

if i should draw this manually what is the best way to do this? (CIFilter or just NSGradient)

thanks.


To do that in IB(Interface Builder) you simply need set the button's key equivalent to "Return" using the popup menu (or type in \R into the key equivalent field).


You will have to make that yourself with a custom subclass of NSButtonCell.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜