Re: Centering an NSAttributedString in a line in a view
Re: Centering an NSAttributedString in a line in a view
- Subject: Re: Centering an NSAttributedString in a line in a view
- From: Michael Tsai <email@hidden>
- Date: Wed, 19 Jul 2006 14:29:52 -0400
On Jul 19, 2006, at 1:50 PM, email@hidden 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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden