> On Oct 11, 2015, at 2:07 PM, Jacek Oleksy <jole...@opera.com> wrote: > > The problem can be seen after creating a new project in XCode, adding > toolbar and putting a button on it (with proper style) and then > putting another button on the view. The height differs (24px vs 22px).
A button in a toolbar is not an NSButton; it’s an NSToolbarItem that displays a button. The metrics for toolbar buttons are somewhat different from buttons in the main part of a window. You may not be able to replicate the appearance exactly by using an NSButton, unfortunately. —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