Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

buckyballs

macrumors regular
Original poster
Hey

Is it possible to have an NSCollectionView with a transparent background?

I've had a look and a play, but I can't get it to work 🙁
 
Have you tried setBackgroundColors: with an [NSColor clearColor]? Have you tried subclassing and overriding isOpaque?
 
Have you tried setBackgroundColors: with an [NSColor clearColor]? Have you tried subclassing and overriding isOpaque?

Found the problem. It's embedded in a NSScrollView, and while the NSCollectionView background was clear, the NSScrollView background wasn't!

Thanks for your help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.