문제

The default NSLevelIndicator styles are shown in the image below:

http://d-bug.chaos-interactive.de/data/cocoaext/li_preview.png

How can I make the level indicator to look the same as this one in the Sound.prefPane of the System Preferences app (Input level)?

http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT2508/en_US/HT2508-Lion-SoundInput-001-en.png

도움이 되었습니까?

해결책

You'll have to roll your own control.

There's no default control in Cocoa (up to and including OS X 10.9) - or even a custom control I'm aware of - providing that style out of the box for you.

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