Transparent Background on NSCollectionView

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

  1. buckyballs
    Expand Collapse
    macrumors regular

    Dec 22, 2006

    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. kainjow
    Expand Collapse
    Moderator emeritus


    Jun 15, 2000
    Have you tried setBackgroundColors: with an [NSColor clearColor]? Have you tried subclassing and overriding isOpaque?
  3. buckyballs
    Expand Collapse
    thread starter macrumors regular

    Dec 22, 2006
    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