• 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: problems with NSTextField destroying background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with NSTextField destroying background


  • Subject: Re: problems with NSTextField destroying background
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Wed, 11 Mar 2009 15:13:57 -0400
  • Mail-followup-to: email@hidden

> My problem is, I want the NSTextField to be transparent (and show the
> NSBox behind), but instead it's making a hole in the NSBox to show the
> desktop, what am I missing?

For historical reasons the NSTextField fills its content with
NSRectFill, which uses the NSCompositeCopy compositing operation instead
of NSCompositeSourceOver. This will blow out your window content. Please
do file a Radar if you’d like to see this fixed.

Can you show us a picture of what your UI looks like? We may be able to
suggest an alternate solution.

-Ben
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >problems with NSTextField destroying background (From: Memo Akten <email@hidden>)

  • Prev by Date: [SOLVED] Re: setFrame: not working in custom event loop
  • Next by Date: Time Zone Names
  • Previous by thread: problems with NSTextField destroying background
  • Next by thread: Re: problems with NSTextField destroying background
  • Index(es):
    • Date
    • Thread