> On Oct 20, 2015, at 11:49 PM, Jacek Oleksy <jole...@opera.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to