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://dl.dropboxusercontent.com/u/16981789/NSToolbarItems.png

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.


> _______________________________________________
> 
> 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/michael.starke%40hicknhack-software.com
> 
> This email sent to michael.sta...@hicknhack-software.com


___m i c h a e l   s t a r k e____ 
       geschäftsführer
       HicknHack Software GmbH
       www.hicknhack-software.com
       
___k o n t a k t____
       +49 (170) 3686136
       cont...@hicknhack.com
       
___H i c k n H a c k   S o f t w a r e   G m b H____
       geschäftsführer - maik lathan | andreas reischuck | michael starke
       bayreuther straße 32
       01187 dresden
       amtsgericht dresden HRB 30351
       sitz - dresden


_______________________________________________

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

Reply via email to