• 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
Re: Centering an NSAttributedString in a line in a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Centering an NSAttributedString in a line in a view
      • From: email@hidden
  • Prev by Date: Re: OpenGL with Cocoa?
  • Next by Date: Re: Header Files Copied into App Bundle - Why?
  • Previous by thread: Centering an NSAttributedString in a line in a view
  • Next by thread: Re: Centering an NSAttributedString in a line in a view
  • Index(es):
    • Date
    • Thread