• 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: Jacek Oleksy <email@hidden>
  • Date: Wed, 21 Oct 2015 08:49:01 +0200

On Tue, Oct 20, 2015 at 6:02 PM, Jens Alfke <email@hidden> wrote:
>
> On Oct 19, 2015, at 11:48 PM, Jacek Oleksy <email@hidden> wrote:
>
> I know that the tool is not the most precise one, but it is enough in
> this case (we are talking about 10% difference here!). The height
> discrepancy can be easily seen even without any tool
>
>
> (Peeking back into this thread) Are you still worried about why buttons are
> 2 pixels shorter in toolbars? It’s clearly because Apple’s HI designers
> wanted it that way, so the engineers shrugged and implemented it. And since
> toolbar buttons are not implemented using NSButton, there’s apparently no
> way to replicate this appearance using that class. You could file a Radar.
>

I filed a bug, and the response I got today:

"This issue behaves as intended based on the following: This is a
deliberate difference in metrics for NSTexturedRoundedBezelStyle
buttons that appear in toolbars."

Does it mean that there is no way to make custom toolbar look
native?:/ Why would *anyone* make a decision like that?

/Jacek

_______________________________________________

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

  • Prev by Date: Labeling switches/checkboxes on iOS
  • Next by Date: How to debug [NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] crash
  • Previous by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Next by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Index(es):
    • Date
    • Thread