On Jun 4, 2014, at 7:05 PM, Graham Cox wrote:

> I have a view-based NSOutlineView, in which I'm using a custom NSTableRowView 
> subclass to customise the appearance of the selection. This works fine.
> 
> However, because I'm using a gradient effect for the highlight, when there 
> are several contiguous rows selected, each row draws a separate gradient 
> giving a sort of "corrugated" effect. This is unlike a standard source-style 
> list, which applies a gradient to each contiguous range of the selection.

It does? When I saw your subject line I thought you were were talking about 
SourceView style, because I have one - it's view-based - and I'd been wondering 
if it was possible to get a unified multi-selection gradient.

> I think this would look better for our case as well, but according to the 
> documentation, the outline view override -highlightSelectionInClipRect: 
> should not be overridden for view-based tables. Yet this seems the only way 
> to get a contiguous highlight effect.
> 
> Am I missing something, or is what I want not possible with a view-based 
> table?
> 
> --Graham

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to