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: Fri, 23 Oct 2015 08:51:40 +0200
On Wed, Oct 21, 2015 at 5:39 PM, Jens Alfke <email@hidden> wrote:
>
> 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.
>
Will try that, but I am afraid that the answer will be just like you said...
> 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.
>
Yep, it seems I will have to live with it, at least for now.
/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