• 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: Lee Ann Rucker <email@hidden>
  • Date: Mon, 10 Mar 2014 13:06:06 -0700

On Mar 9, 2014, at 11:11 AM, Michael Starke wrote:

> 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://urldefense.proofpoint.com/v1/url?u=https://dl.dropboxusercontent.com/u/16981789/NSToolbarItems.png&k=oIvRg1+dGAgOoM1BIlLLqw==
&r=yJFJhaNnTZDfFSSz1U9TSNMmxGyib3KjZGuKfIhHLxA=
&m=GiU+MYhTtF7+528iGqbgl+QSt/yk57EqBq9y/PSTqwc=
&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 (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: Michael Starke <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>)
 >Re: Best way to make Finder/Mail style toolbars? (From: Michael Starke <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