Re: NSButton with an image
Re: NSButton with an image
- Subject: Re: NSButton with an image
- From: Andrew Platzer <email@hidden>
- Date: Thu, 10 May 2001 13:06:21 -0700
On Thursday, May 10, 2001, at 10:47 , Stiphane Sudre wrote:
When the button is not pushed, the alpha layer is correctly taken into
account. When the button is pushed, the alpha layer is not taken into
account and there's a white background drawn.
It's a bug or a feature ?
It's a 'feature'. Make sure the NSCellLightsByBackground isn't set.
i.e. [cell setCellAttribute:NSCellLightsByBackground to:NO];
Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e