• 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: Background color of disclosure triangle row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background color of disclosure triangle row


  • Subject: Re: Background color of disclosure triangle row
  • From: Eric Gorr <email@hidden>
  • Date: Wed, 17 Dec 2008 14:15:58 -0500

Excellent. Thank you. Don't think I would have found that anytime soon. I was surprised to find that isGroupItem is not mentioned in the NSOutlineView guide.

The other thing I noticed is that the PhotoSearch sample application has the disclosure triangle and it's text drawn in white to better contrast with the gray background. Any idea how this was accomplished?


And, just because I'm curious...is there any way to control the background color of the disclosure triangle rows? Or must it be gray if outlineView:isGroupItem returns YES?


Thanks again.


On Dec 17, 2008, at 2:03 PM, Nate Weaver wrote:

See the -outlineView:isGroupItem: delegate method.

On Dec 17, 2008, at 11:30 AM, Eric Gorr wrote:

This should be an easy one, but I am just not seeing it...

In the sample code found at:

http://developer.apple.com/samplecode/PhotoSearch/index.html

The background color of the rows containing the disclosure triangles are drawn with a gray background.

How was that gray color provided and drawn to the NSOutlineView?

Thank you.

_______________________________________________

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:
@ericgorr.net


This email sent to email@hidden

_______________________________________________

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


References: 
 >Background color of disclosure triangle row (From: Eric Gorr <email@hidden>)
 >Re: Background color of disclosure triangle row (From: Nate Weaver <email@hidden>)

  • Prev by Date: Re: how to separate the path name from a file name
  • Next by Date: Re: The Ages Old __MyCompanyName__ Question
  • Previous by thread: Re: Background color of disclosure triangle row
  • Next by thread: how to separate the path name from a file name
  • Index(es):
    • Date
    • Thread