Re: NSTextView with transparent text?
Re: NSTextView with transparent text?
- Subject: Re: NSTextView with transparent text?
- From: email@hidden
- Date: Sun, 17 Mar 2002 23:41:15 -0800
I'm trying to make the text in an NSTextView transparent - here's my
code which takes an NSAttributedString. Does anyone have any ideas why
this won't work?
Well, I didn't stare at your code for *too* long, but it looks like
you're not doing anything to make the background color for the textview
transparent, so your alpha text is just going to "show through" to the
solid background color. Am I missing something? In what way exactly
does the code you gave "not work"? What are you trying to get the text
to show through to -- some view behind the textview, or the superview's
drawn content, or whatever is behind the window (i.e. all the way
through to the back of the window buffer), or what? Are there
scrollviews, clipviews, etc. that might be interfering with your goals
by erasing to opaque colors?
Ben Haller
Stick Software
_______________________________________________
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.