On Mar 12, 2011, at 11:45, Carlos Eduardo Mello wrote:

> when I use the code bellow,  the text inside my text field fades out ok. So 
> do the rim and shadow, however  the white rectangular shape of the field 
> stays visible.
> Is this the expected behaviour?
> I thought setting the view's alpha to 0 would render it completely 
> invisible...
> 
> [NSAnimationContext beginGrouping];
> [[NSAnimationContext currentContext] setDuration:kANIMATION_SPEED];
>       [[myTextField animator] setAlphaValue:0.0];
> [NSAnimationContext endGrouping];

Was this text field first responder before you faded it? If so, it may be the 
remains of the field editor showing. Try making something else the first 
responder first.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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

This email sent to [email protected]

Reply via email to