Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
- Subject: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
- From: Richard Charles <email@hidden>
- Date: Wed, 21 Oct 2015 08:52:49 -0600
> On Oct 21, 2015, at 12:49 AM, Jacek Oleksy <email@hidden> wrote:
>
> 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."
I do apologize for all the confusion. I can see what you mean.
On OS X Yosemite the these buttons are the same height with only a shadow at the bottom. On OS X El Captain the these buttons are different heights with a shadow on all sides. On El Captain the toolbar button height has remained the same but this button in other locations has the height reduced by 2 points.
I have not felt inclined to move my development machine to El Captain because of issues with the window server and multiple displays.
My guess is that Apple reduced the button height in non-toolbar locations to make the user interface feel less crowded. The 2 point decrease does make it very noticeable to the eye as you indicated.
The shadow all the way around increases contrast. They most likely have had complaints of lack of contrast. I know I have complained about that.
Looks like you are stuck implementing a custom button if you want the same look as the Apple toolbar in your custom toolbar.
--Richard Charles
_______________________________________________
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