Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
- Subject: Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
- From: Graham Cox <email@hidden>
- Date: Thu, 05 Jun 2014 23:03:07 +1000
On 5 Jun 2014, at 7:42 pm, Michael Starke <email@hidden> wrote:
> Take a look at the tool you daily use :) Xcode has continuous background gradients in it's source-list style OutlineView
Good call :) well, that shows exactly what I'm talking about... but also suggests that it isn't view-based but cell based.
BTW, I tried overriding the -highlightSelectionInClipRect: method but it isn't called at all for a view-based table. I also tried a hack where my custom row view called back into the superview (the table view) to draw a contiguous highlight but I couldn't get that to work properly, because it messes fairly substantially with the drawing order.
Stumped.
--Graham
_______________________________________________
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