Skip navigation.
 
mlRe: Centering an NSAttributedString in a line in a view
FROM : Michael Tsai
DATE : Wed Jul 19 20:29:52 2006

On Jul 19, 2006, at 1:50 PM, <email_removed> wrote:

>  (gdb) po parsty (* just after that line has been executed *)
> Alignment 2, LineSpacing 0, ParagraphSpacing 0, 
> ParagraphSpacingBefore 0,
> HeadIndent 0, TailIndent 0, FirstLineHeadIndent 0, LineHeight 0/0,
> LineHeightMultiple 0, LineBreakMode 0, Tabs (288C, 576R),
> DefaultTabInterval 0, Blocks (null), Lists (null), 
> BaseWritingDirection
> -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0
>
>  All I understand here is that the Alignement parameter has been
> modified in parsty, exactly as I wanted.
>  What am I supposed to ``see right away" here ? Is there some 
> parameter
> that should be nonzero ?


I think the alignment of the page number is handled by the right-
aligned tab stop, so changing the alignment of the paragraph won't 
make a difference. You would need to change the 576R tab stop or 
remove the tabs from the string so that it follows the paragraph 
alignment.

--Michael

Related mailsAuthorDate
mlCentering an NSAttributedString in a line in a view delanoy Jul 18, 19:54
mlRe: Centering an NSAttributedString in a line in a view Matt Neuburg Jul 18, 21:13
mlRe: Centering an NSAttributedString in a line in a view delanoy Jul 19, 11:14
mlRe: Centering an NSAttributedString in a line in a view delanoy Jul 19, 19:50
mlRe: Centering an NSAttributedString in a line in a view Matt Neuburg Jul 19, 20:19
mlRe: Centering an NSAttributedString in a line in a view Michael Tsai Jul 19, 20:29
mlRe: Centering an NSAttributedString in a line in a view Matt Neuburg Jul 19, 21:25
mlRe: Centering an NSAttributedString in a line in a view [SOLVED] delanoy Jul 20, 09:17