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

NSTextField labels and URLs


  • Subject: NSTextField labels and URLs
  • From: Dmitri Goutnik <email@hidden>
  • Date: Tue, 15 Jul 2008 00:01:09 +0400

Hi,

I'm almost positive I've seen this asked here a few weeks back, but search turned up nothing so here goes...

I have About panel with copyright label (NSTextField) that have URL in it. Label is set to allow rich text and be selectable, copyright string is loaded from Credits.rtf and assigned to label with setAttributedStringValue. The problem is that when About is shown, I have to click on copyright to make URL underlined and hover cursor changed to pointingHandCursor.

Is there anything special that needs to be done to get NSTextField to display links underlined ?

Thanks,
- Dmitri

_______________________________________________

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: NSTextField labels and URLs
      • From: Stefan Arentz <email@hidden>
  • Prev by Date: Re: NSViewController and View Swapping
  • Next by Date: Re: Rounded NSWindow corners?
  • Previous by thread: Re: Rounded NSWindow corners?
  • Next by thread: Re: NSTextField labels and URLs
  • Index(es):
    • Date
    • Thread