osx - How do I get Mac Toolbar Items that look like the standard toolbar buttons? -


I am working on some updates in my first Mac app and I try to see the toolbar buttons in my window But I've got toolbar buttons on every standard Mac app, however, for my life, I'm not getting a button type or a bar button type which I'm getting what I'm looking for. Am I missing something?

Here are several Mac apps (previews, finders and safaris) with toolbars at the top, which is a slight slope on buttons with a very small round corner, etc.

Enter image details here

However, in me Xib I have got a toolbar and I have removed all kinds of buttons which I can find on this thing and do not see anything like the standard mac button.

Enter image details here

The first button looks very close Is it, but it is not clearly the same color, am I missing something?

@Matt ball is correct - you can NSSegmentedControl s, even That even once for click button Just set the number of segments to 1, and set the mode for "none choose".

Using this technique, see below: toolbar with NSSegmentedControls

Update : There are some standard button icons for toolbars that have a list of

In the above screenshot, only two buttons are using built-in pictures: NSFEfacingTreengTemplate, and NSFETFettingTrainingTemplate. I attracted myself to others


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -