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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
> 
> This email sent to 3tothe...@comcast.net

Charlie Dickman
3tothe...@comcast.net




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to