Re: transparent NSTextView
Re: transparent NSTextView
- Subject: Re: transparent NSTextView
- From: Douglas Davidson <email@hidden>
- Date: Thu, 22 Aug 2002 09:47:22 -0700
On Wednesday, August 21, 2002, at 09:55 PM, Hok Chun So wrote:
I tried the following code in awakeFromNib method:
[textView setDrawsBackground:NO];
[textView setNeedsDisplay:YES];
The background of textView is still white. It's not transparent.
Where did I do wrongly?
That thing that you drag out of the palette in Interface Builder isn't
a plain NSTextView, it's a text view in a scroll view. Chances are
what you're seeing is the scroll view's background.
Douglas Davidson
_______________________________________________
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.