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

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


  • Follow-Ups:
    • Re: setAlphaValue: and NSTextField
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Question about user interface.
  • Next by Date: Re: CoreFoundation object over-retained during finalization
  • Previous by thread: Re: NSView, CALayer, setNeedsDisplay
  • Next by thread: Re: setAlphaValue: and NSTextField
  • Index(es):
    • Date
    • Thread