On 18 Dec 2014, at 4:40 pm, Jerry Krinock <je...@ieee.org> wrote: > > I have spent several hours looking for a combination of NSSegementedControl > of a given style and/or NSButton of a given style that will look like the > buttons and what appear to be segmented controls in the toolbars of Xcode and > Mail in Yosemite. So far, I have not found the answer. Is there any? Or > are these custom controls?
You're not saying which version of Xcode. FWIW, I went through a lot of similar trial and error, and found that setting a segmented style of Automatic gives me a similar result to, say, the View menu in a Finder window. I call setSegmentStyle:NSSegmentStyleSeparated when it loads under 10.10, which gives the separated appearance. But in terms of how template images work, it's the same. -- Shane Stanley <sstan...@myriad-com.com.au> <www.macosxautomation.com/applescript/apps/> _______________________________________________ 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