• 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
SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?


  • Subject: SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?
  • From: David Hoerl <email@hidden>
  • Date: Wed, 17 Feb 2016 09:37:38 -0500


Is there a mechanism to do this? Even a gray solid underline that visually aligns the items works too (background image?)



Serach the documentation for NSUnderlinePatternDot

—Graham

Thanks,

What I had wanted was to place the underline style in the white space between two items that are tab separated.

I did find this past weekend that simply applying the style to the tab character (the style you mention) resulted in the effect I was hoping for. In hindsight I guess it seems quite rational now.

Note that patterns also require the specification of a line style (single, double, etc) - so you must or them together.
_______________________________________________

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: SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?
      • From: Alex Zavatone <email@hidden>
References: 
 >NSAttributedString: how to add an underline (dotted line) between tab stops? (From: David Hoerl <email@hidden>)
 >Re: NSAttributedString: how to add an underline (dotted line) between tab stops? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: calendar & repeating events api
  • Next by Date: Re: SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?
  • Previous by thread: Re: NSAttributedString: how to add an underline (dotted line) between tab stops?
  • Next by thread: Re: SOLVED: NSAttributedString: how to add an underline (dotted line) between tab stops?
  • Index(es):
    • Date
    • Thread