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


    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


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

    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