• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSButton with an image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSButton with an image
      • From: Stéphane Sudre <email@hidden>
References: 
 >NSButton with an image (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: FW: Objective C vs. Java
  • Next by Date: Re: Array sorting problem
  • Previous by thread: NSButton with an image
  • Next by thread: Re: NSButton with an image
  • Index(es):
    • Date
    • Thread