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

Centering an NSAttributedString in a line in a view


  • Subject: Centering an NSAttributedString in a line in a view
  • From: email@hidden
  • Date: Tue, 18 Jul 2006 19:54:01 +0200 (CEST)
  • Importance: Normal

       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 ?

                                                                                          Ewan



 _______________________________________________
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

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