HI All,
I am creating custom toolbar and placing some buttons in it. I want it
to look as close to native toolbar as possible (and no, sadly I cannot
use NSToolbar).

The problem is that when I put NSButton on the custom toolbar with
NSTexturedRoundedBezelStyle, its height is 22 pixels. However, if a
button like this is put on NSToolbar, it gets a height of 24 pixels.

Anyone has a clue what is going on here? Does button is somehow aware
that it is put in NSToolbar and changes its appearance?

Is there any way to fool NSButton into thinking that it is put in a NSToolbar?

Thanks in advance for any help!

Cheers,
Jacek
_______________________________________________

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