NSTextField setTextColor not working on Tiger



I was trying to make a static text item look dimmed like so:

NSColor* newColor = [[theField textColor]
colorWithAlphaComponent: (mIsEnabled? 1.0f : 0.5f) ];
[theField setTextColor: newColor ];

It works fine on Leopard, but on Tiger, the text stays stubbornly black. Why?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

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/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx



Privacy