Re: Background color of disclosure triangle row
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