NSToolbarItem view set to NSButton view, but not showing...
NSToolbarItem view set to NSButton view, but not showing...
- Subject: NSToolbarItem view set to NSButton view, but not showing...
- From: "Peters, Brandon" <email@hidden>
- Date: Wed, 23 Apr 2014 22:13:56 +0000
- Thread-topic: NSToolbarItem view set to NSButton view, but not showing...
Devs,
I have a custom NSToolbarItem with a NSButton underneath. I set the main and alternate images for the button using [NSImage imageNamed:imageName], then call [toolbaritem setView:view] and pass in the NSButton. But when I run the application, the NSToolbarItem is does not show the image and the look of the toolbar item is the default from IB. The image is of type .icns, with various representations based on Appleās guidelines.
Any suggestions on how to find the problem would be much appreciated.
_______________________________________________
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