• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom toolbar items not drawn in Default Set
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Order of controls
  • Next by Date: MEETING: Chicago CocoaHeads / CAWUG, Tues. Jan 9th @ 6:00
  • Previous by thread: Re: showing a symbol on NSTextField
  • Next by thread: MEETING: Chicago CocoaHeads / CAWUG, Tues. Jan 9th @ 6:00
  • Index(es):
    • Date
    • Thread