Re: problems with NSTextField destroying background
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