Re: NSTextView drawing background
Re: NSTextView drawing background
- Subject: Re: NSTextView drawing background
- From: Douglas Davidson <email@hidden>
- Date: Fri, 6 May 2005 13:24:20 -0700
On May 6, 2005, at 12:18 PM, Graham wrote: I have created an NSTextView subclass in order to handle hyperlinks. For some reason I cannot prevent it from drawing it's background. I am calling setDrawsBackground(false); but it does not work, it paints it's background in whatever color I specify in IB. Oddly enough if I set the background color to something, it does ignore that color unless I setDrawsBackground(true) as expected in which case it draws the background in that color. I've even tried setting the background color to NSColor.clearColor().
This must be something dumb, so please point it out!
The text view you drag out in IB is contained in a scroll view, which may perhaps be drawing its own background.
Douglas Davidson
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden