• 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: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar


  • Subject: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • From: Lee Ann Rucker <email@hidden>
  • Date: Fri, 16 Oct 2015 22:10:31 +0000
  • Thread-topic: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

On Oct 16, 2015, at 1:57 PM, Richard Charles <email@hidden> wrote:

>
>> On Oct 16, 2015, at 1:24 AM, Jacek Oleksy <email@hidden> wrote:
>>
>> NSToolbar is not a view, it is a class designed to "provide the
>> mechanism for a titled window to display a toolbar just below its
>> title bar" (from the doc). I need to display the toolbar in different
>> place, that is why I need to use custom NSView (please correct me if I
>> am wrong…).
>
> Yes, you will need to roll your own toolbar.

Having rolled my own toolbar in the distant past (10.5 IIRC), I cannot recommend NSStackView more (10.9+) - all the layout adjustment you’d have to handle yourself is done for you. It’s even quite easy to have an automatic overflow menu - there’s an Apple sample that does that, though I can’t remember which one.
_______________________________________________

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


References: 
 >NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)

  • Prev by Date: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Next by Date: Hide UINavigationBar and keep UIPageController content static
  • Previous by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Next by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Index(es):
    • Date
    • Thread