• 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
Re: Transparent NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent NSTextField


  • Subject: Re: Transparent NSTextField
  • From: Charlie Dickman <email@hidden>
  • Date: Thu, 28 Jun 2012 12:30:08 -0400

In IB you can set the "Draws Background" property to no (uncheck the box) or send the NSTextField a SetDrawsBackground: NO message.

On Jun 28, 2012, at 11:22 AM, Vincent Habchi wrote:

> Hi everybody,
>
> I’m trying to add a transparent editable NSTextField to a view. As long as the field is not editable (e.g. a label), everything is fine; but with an editable field, I get a background fill. I imagine this is under the window NSTextView responsibility. Has someone already succeeded in programming a totally transparent NSTextField, or shall I recourse to a CATextLayer instead?
>
> Thanks,
> Vincent
> _______________________________________________
>
> 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

Charlie Dickman
email@hidden




_______________________________________________

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: Transparent NSTextField
      • From: Vincent Habchi <email@hidden>
References: 
 >Transparent NSTextField (From: Vincent Habchi <email@hidden>)

  • Prev by Date: Re: Transparent NSTextField
  • Next by Date: Re: Transparent NSTextField
  • Previous by thread: Re: Transparent NSTextField
  • Next by thread: Re: Transparent NSTextField
  • Index(es):
    • Date
    • Thread