• 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
row bg color in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

row bg color in NSOutlineView


  • Subject: row bg color in NSOutlineView
  • From: Raphael Sebbe <email@hidden>
  • Date: Fri, 21 Dec 2001 13:03:18 +0100

Hello all,

What is the best way of setting the background color in an outline view, per row, based on item kind ? I tried some custom data cells (NSTextFieldCell) but its background color is ignored (or changed to white just before drawing ?). Attributed string is not what I want because it won't cover the entire row (just the text).

Also, if that can help, I use a custom NSTableColumn subclass.

Thanks,

Raphael


  • Follow-Ups:
    • Re: row bg color in NSOutlineView
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: toolTips
  • Next by Date: Re: Is an just allocated object allways set to autorelease? What about my subclasses?
  • Previous by thread: toolTips
  • Next by thread: Re: row bg color in NSOutlineView
  • Index(es):
    • Date
    • Thread