• 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
Text with translucent Background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text with translucent Background


  • Subject: Text with translucent Background
  • From: email@hidden
  • Date: Wed, 9 Apr 2008 12:31:03 +0100

Dear All

I am trying to set the background colour of a range of text in textview to a color with an alpha value less than 1.

I get the text storage and set its NSBackgroundColorAttributeName attribute (through NSMutableAttributedString calls) to a colour with an alpha value less than 1.
However when this background draws it draws the colour as solid and as I decrease the alpha value( towards 0.0 ) the colour goes towards black.


Any suggestions

Thanks
Fred


_______________________________________________

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


  • Follow-Ups:
    • Re: Text with translucent Background
      • From: Graham Cox <email@hidden>
  • Prev by Date: More NSUndoManager woes
  • Next by Date: Re: Text with translucent Background
  • Previous by thread: Re: More NSUndoManager woes
  • Next by thread: Re: Text with translucent Background
  • Index(es):
    • Date
    • Thread