Hello all.

I have subclasses NSCollectionView to be able to draw a custom background 
gradient.

When that collectoin view doesn't accepts layers or its parent view neither, 
the gradient its drawn, the drawRect method its called, but if the collection 
view accepts layer or its parent does, then the drawRect its not called, and I 
need to draw that gradient bacground.

I dunno if its because its backed-layer view, in which case what can I do have 
the parent view accept layers and at the same time the collection's view 
background will be drawn properly?

Thanks for the help

Gustavo
 PS. the CollectionsViewItems are drawn properly.



_______________________________________________

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

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

Reply via email to