1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Transparent Background on NSCollectionView

Discussion in 'Mac Programming' started by buckyballs, Mar 12, 2009.

  1. macrumors regular

    #1
    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 :(
     
  2. Moderator emeritus

    kainjow

    #2
    Have you tried setBackgroundColors: with an [NSColor clearColor]? Have you tried subclassing and overriding isOpaque?
     
  3. macrumors regular

    #3
    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!
     

Share This Page