Re: Opacity in IB
Re: Opacity in IB
- Subject: Re: Opacity in IB
- From: Nathan Day <email@hidden>
- Date: Fri, 1 Mar 2002 20:20:21 +1030
You have to set the window to be not opaque with [NSWindow
setOpaque:NO]. By default it's yes which I guess means it can do things
more efficiently when not worrying about alpha values.
On Friday, March 1, 2002, at 08:11 AM, Bishop wrote:
I was trying to make a NSView have some transparancy in IB, I placed it
in a window and choosed the level of opacity I wanted. In IB everything
now looks nice, I can clearly see the "stripes" of the window through
the NSView. But when I run the App (or choose test interface in IB) it
looks like the NSView is on a black background. If I have 0% opacity it
becomes black and if I have 50% it is gray. Why is this and how do I
fix it?
/Bishop
--
Ogden's Law: The sooner you fall behind, the more time you have to
catch up.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.