• 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: Jens Alfke <email@hidden>
  • Date: Wed, 21 Oct 2015 08:39:58 -0700

> On Oct 20, 2015, at 11:49 PM, Jacek Oleksy <email@hidden> wrote:
>
> Does it mean that there is no way to make custom toolbar look
> native?:/ Why would *anyone* make a decision like that?

Apple's HI designers decide how things should look visually, and they decided toolbars look best with buttons of that height. Then the AppKit engineers implemented the toolbar display code to produce the appearance defined in the visual design.

It may just not have occurred to anyone that this makes it infeasible to implement a custom toolbar, since almost no app does that. (My suspicion is that if you asked the HI designers they’d say “a toolbar must appear at the top of a window. Don’t put a toolbar elsewhere.”) As I think I said before, file a bug report asking for the functionality you want.

My advice would be to give up on making the toolbar pixel-for-pixel identical to a standard one. It’s already nonstandard because it’s in a different place. I don’t think having buttons 2 pixels taller is going to ruin the appearance; most people probably won’t even notice.

—Jens


_______________________________________________

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: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
      • From: Jacek Oleksy <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>)
 >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: Jens Alfke <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)

  • Prev by Date: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Next by Date: iOS: clearing the keyboard word suggestion bar
  • Previous by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Next by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Index(es):
    • Date
    • Thread