• 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
Re: Disclosure Triangle Icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disclosure Triangle Icon


  • Subject: Re: Disclosure Triangle Icon
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Thu, 19 Feb 2004 23:40:46 +0100

At 23:27 Uhr +0100 19.02.2004, Bjvrn Carlstrvm wrote:
I have my own custom view where it would be suitable to let the user expand or hide some information. I believe a Disclosure Triangle would be the ideal user interface. Is there a way to draw this standard icon? Or should I use an NSButton? (There might be hundreds of these in my view, so i fear the overhead.)
Any ideas?

AFAIK there is no standard disclosure triangle in Cocoa.

But if you want to use an NSButton and just give it an icon that looks like a disclosure triangle, use an NSButtonCell to do it. That way you get all the highlighting, tracking and drawing of an NSButton without the overhead of an NSView.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Disclosure Triangle Icon
      • From: j o a r <email@hidden>
    • Re: Disclosure Triangle Icon
      • From: Allan Odgaard <email@hidden>
References: 
 >Disclosure Triangle Icon (From: Björn Carlström <email@hidden>)

  • Prev by Date: NSOutlineView blowing stack
  • Next by Date: Re: Transparent Windows WAS: (no subject)
  • Previous by thread: Disclosure Triangle Icon
  • Next by thread: Re: Disclosure Triangle Icon
  • Index(es):
    • Date
    • Thread