문제

i want to make on/off gradient NSButton but with blue highlight like NSTabView select buttons.
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.

도움이 되었습니까?

해결책

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

다른 팁

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top