On 11 Aug 2008, at 14:27, Uli Kusterer wrote:

On 11.08.2008, at 14:45, Simon Wolf wrote:
All of my attempts to change the foreground color via NSForegroundColorAttributeName have failed so far as have attempts to set the color in the Credits.html file (CSS works for standard text, not links however).


IIRC NSTextView has a method to specify the attributes used for links. Those override whatever you specify in the attributed string, AFAIK.

Ah, here it is : -setLinkTextAttributes:

Thanks Uli. I think I was concentrating on doing it via the NSAttributedString too much.

Simon
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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