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

2016-02-17 Thread Alex Zavatone
David, I put together some helper classes for building NSAttributed strings in specific formats on iOS. One of the things it handles properly is superscripting. The options for superscripting are to scale the superscripted text and shift above the baseline based on a percentage of the

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

2016-02-17 Thread David Hoerl
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

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

2016-02-12 Thread David Hoerl
I want to build a table with a left identifier, then a tab stop (well actually a few), each having some text in it. What I'd dearly love to do is add a dotted line style underline that goes from the right position of the left most text then butts up to the tab stop to its right, up to the

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

2016-02-12 Thread David Delmonte
I did something similar recently with strikethrough: NSAttributedString *string1 = [[NSAttributedString alloc] initWithString:@"TRAIN - " attributes:nil]; NSAttributedString *string2 = [[NSAttributedString alloc] initWithString:@"INTERACTIVE"

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

2016-02-12 Thread Graham Cox
> On 13 Feb 2016, at 1:39 AM, David Hoerl wrote: > > 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