ility. 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 com
Le 28 juin 2012 à 18:30, Charlie Dickman <3tothe...@comcast.net> a écrit :
> In IB you can set the "Draws Background" property to no (uncheck the box) or
> send the NSTextField a SetDrawsBackground: NO message.
Yep, but that’s working only for non-editable fields. In an editable field, I
get a
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 re
> My next step (which is my way of saying I haven't tried it) would be to
> investigate -[ windowWillReturnFieldEditor:toObject:], and
> set the field editor's backgroundColor (it's in NSText) to the transparent
> color.
I'll do that, yes. Besides, I need to override the cursor to make it look
; NSTextView responsibility. Has someone already succeeded in programming a
> totally transparent NSTextField, or shall I recourse to a CATextLayer instead?
My next step (which is my way of saying I haven't tried it) would be to
investigate -[ windowWillReturnFieldEditor:toObject:]
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