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: Matt Neuburg <email@hidden>
- Date: Tue, 18 Jul 2006 12:13:34 -0700
- Thread-topic: Centering an NSAttributedString in a line in a view
On Tue, 18 Jul 2006 19:54:01 +0200 (CEST), email@hidden said:
> Hello all,
>
> the page number is on the right end of the footer by default and I would
>like it
>in the center of the footer. So I overrode -pageFooter: in my view, by
>setting the Alignement parameter in NSParagraphStyle to be
>NSCenterTextAlignement.
>Unfortunately, the display didn't change : the page number is still to the
>right ...
>Did I change the wrong parameter ?
Could you please actually *show* your -pageFooter: code?
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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