Custom toolbar items not drawn in Default Set
Custom toolbar items not drawn in Default Set
- Subject: Custom toolbar items not drawn in Default Set
- From: glenn andreas <email@hidden>
- Date: Mon, 8 Jan 2007 12:22:30 -0600
So I've got a toolbar that contains some custom toolbar items (which
contain views that actually subclasses of NSButton).
They work fine, except that when you go to customize the toolbar.
The show up fine in the individual list of toolbar items available,
but the "default set" at the bottom doesn't draw the items at all -
just the label. All the other toolbar items (using just standard
images) works fine.
The only thing possibly related is that my toolbar item validate
routine needs to call "setNeedsDisplay:" on the view or they don't
get drawn at all (I would have expected that the normal view
hierarchy refreshing would have automatically handled that without
additional work) so I'm guessing that there is something related
there...
Anybody else seen this?
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build,
mutate, evolve, animate
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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