Re: Does NSOutlineView's highlightedTableColumn work?
Re: Does NSOutlineView's highlightedTableColumn work?
- Subject: Re: Does NSOutlineView's highlightedTableColumn work?
- From: David Catmull <email@hidden>
- Date: Mon, 04 Apr 2016 11:50:15 -0600
> Are you sure a (rather small) sort indicator didn't appear in the column's header?
No, nothing appeared there either.
>> I’m trying to use the column highlight to indicate a view state unrelated to sorting…
>
> Don't do that. Don't try to hijack features intended for one semantic for another.
I don't think the intended use of highlightedColumn is sufficiently clear in the docs. I'll submit feedback to Apple about that.
> If you're using a view-based outline view, try using a custom table row view that overrides -drawBackgroundInRect:.
It seems like that would only give me a background in non empty rows. My next idea was to subclass NSOutlineView and override drawBackgroundInRect on that.
_______________________________________________
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