On Mar 9, 2014, at 11:11 AM, Michael Starke wrote: > On 09 Mar 2014, at 19:03, Lee Ann Rucker <lruc...@vmware.com> wrote: > >> >>> From: "Kyle Sluder" <k...@ksluder.com> >> >>>> On Mar 8, 2014, at 8:08 PM, Jens Alfke <j...@mooseyard.com> wrote: >>>> >>>> I want my Mac app's toolbar to look like the ones in the Finder and Mail, >>>> with each item drawn as a framed button. So far the only way I’ve found to >>>> do this is to give each NSToolbarItem a custom view that’s an >>>> NSSegmentedControl with one segment. >> >>> Buttons with the round textured style don’t work? >> >> They don't look or line up quite the same, and if you have multi-segment >> controls in there too, it gets really obvious > > I'm creating ToolbarItems for myself in code and use NSButton, NSPopupButton > and NSSegemtedControl. They look like this just by setting the view on the > NSToolbarItem: > > https://urldefense.proofpoint.com/v1/url?u=https://dl.dropboxusercontent.com/u/16981789/NSToolbarItems.png&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=yJFJhaNnTZDfFSSz1U9TSNMmxGyib3KjZGuKfIhHLxA%3D%0A&m=GiU%2BMYhTtF7%2B528iGqbgl%2BQSt%2Fyk57EqBq9y%2FPSTqwc%3D%0A&s=a3d7000f23f50ced0de43711249ca8d080873b3be61e93dcf0513e7c004e99ed > > first on is segmented, then two buttons, then a popup button, to the right > again buttons > > I do nothing special, so I'm wondering why yours don't line up.
It might've been an earlier OS version; Apple does love to tweak them. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com