• 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
NSTextView drawing background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView drawing background


  • Subject: NSTextView drawing background
  • From: Graham <email@hidden>
  • Date: Fri, 6 May 2005 15:18:31 -0400

Hi,

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!

Thanks

Graham

_______________________________________________
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


  • Follow-Ups:
    • Re: NSTextView drawing background
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Function to write to one pixel
  • Next by Date: Re: Interface builder question.
  • Previous by thread: Re: Interface builder question
  • Next by thread: Re: NSTextView drawing background
  • Index(es):
    • Date
    • Thread