• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to make Finder/Mail style toolbars?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to make Finder/Mail style toolbars?


  • Subject: Re: Best way to make Finder/Mail style toolbars?
  • From: Michael Starke <email@hidden>
  • Date: Sun, 09 Mar 2014 19:11:32 +0100

On 09 Mar 2014, at 19:03, Lee Ann Rucker <email@hidden> wrote:

>
>> From: "Kyle Sluder" <email@hidden>
>
>>> On Mar 8, 2014, at 8:08 PM, Jens Alfke <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden


___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
       email@hidden

___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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Best way to make Finder/Mail style toolbars?
      • From: Lee Ann Rucker <email@hidden>
    • Re: Best way to make Finder/Mail style toolbars?
      • From: Jens Alfke <email@hidden>
References: 
 >Best way to make Finder/Mail style toolbars? (From: Jens Alfke <email@hidden>)
 >Re: Best way to make Finder/Mail style toolbars? (From: Kyle Sluder <email@hidden>)
 >Re: Best way to make Finder/Mail style toolbars? (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: Best way to make Finder/Mail style toolbars?
  • Next by Date: Re: Best way to make Finder/Mail style toolbars?
  • Previous by thread: Re: Best way to make Finder/Mail style toolbars?
  • Next by thread: Re: Best way to make Finder/Mail style toolbars?
  • Index(es):
    • Date
    • Thread