• 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
Re: Underlining a Tab item label
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Underlining a Tab item label


  • Subject: Re: Underlining a Tab item label
  • From: Shlok Datye <email@hidden>
  • Date: Tue, 26 May 2009 09:45:16 +0000

You can subclass NSTabViewItem, override its drawLabel:inRect:, and put your custom drawing code there.

Shlok Datye
Coding Turtle
http://codingturtle.com


On 25.05.2009, at 18:41, David Alter wrote:

With NSTabView I can set the font of the NSTabViewItem label. Is there a way
to make it underlined? I have always done this with the NSAttributeString in
the past. However I do not see how I can get access to the attribute string
for the NSTabViewItem label.
thank for the help
-dave
_______________________________________________

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


References: 
 >Underlining a Tab item label (From: David Alter <email@hidden>)

  • Prev by Date: Displaying a number with Quartz
  • Next by Date: NSWindow in threads
  • Previous by thread: Underlining a Tab item label
  • Next by thread: UIButton and UIView touch handling issues
  • Index(es):
    • Date
    • Thread