setAlphaValue: and NSTextField
setAlphaValue: and NSTextField
- Subject: setAlphaValue: and NSTextField
- From: Carlos Eduardo Mello <email@hidden>
- Date: Sat, 12 Mar 2011 16:45:12 -0300
Hi everybody,
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];
Any comments?
Thanks already.
_______________________________________________
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