Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
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