The problem is only when trying to use the setTextColor: method of an
NSTextField.
- Chuck
On December 31, 2007, Shripada Hebbar wrote:
this doesn't work:
[myTextField setTextColor:[[NSColor redColor]
colorWithAlphaComponent:0.5]];
(result is plain red, ignoring alpha)
Documentation of 'colorWithAlphaComponent' says:
"A subclass with explicit opacity components should override this
method to return a color with the specified alpha."
Thus the above code wont return you the expected color.
Regards
Shripada
_______________________________________________
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