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

buckyballs

macrumors regular
Original poster
Dec 22, 2006
176
97
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 :(
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Have you tried setBackgroundColors: with an [NSColor clearColor]? Have you tried subclassing and overriding isOpaque?
 

buckyballs

macrumors regular
Original poster
Dec 22, 2006
176
97
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.