On 5 Jun 2014, at 14:03, Graham Cox <[email protected]> wrote:

> 
> On 5 Jun 2014, at 7:42 pm, Michael Starke 
> <[email protected]> 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.
> 
You could use your current approach to calculate + draw different gradients for 
each row to give the overall effect of a single gradient.
No idea how messy this would be to implement!

Jonathan















_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to