• 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: NSMutableParagraphStyle -paragraphSpacingBefore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableParagraphStyle -paragraphSpacingBefore


  • Subject: Re: NSMutableParagraphStyle -paragraphSpacingBefore
  • From: Jonathan Mitchell <email@hidden>
  • Date: Tue, 22 Aug 2017 18:23:00 +0100

> On 22 Aug 2017, at 18:17, Quincey Morris
> <email@hidden> wrote:
>
> On Aug 22, 2017, at 10:02 , Jonathan Mitchell <email@hidden> wrote:
>>
>> I don’t seem to be having much luck getting NSMutableParagraphStyle
>> -paragraphSpacingBefore to render.
>
> To render where? I have never found a way of getting it to be honored at the
> *top* of a text container, only after a non-empty, non-trivial paragraph of
> text.
Yes. That might well be the behaviour.

In this case I was trying to adjust the before spacing of the second paragraph.
I hadn’t defined an explicit paragraph style for the first paragraph (which I
presumed would use the default para style).
Once I set the 1st para to explicitly use [NSParagraphStyle
defaultParagraphStyle] it rendered ok.

Thanks

J
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSMutableParagraphStyle -paragraphSpacingBefore (From: Jonathan Mitchell <email@hidden>)
 >Re: NSMutableParagraphStyle -paragraphSpacingBefore (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSMutableParagraphStyle -paragraphSpacingBefore
  • Next by Date: Ignore Spelling not persistent?
  • Previous by thread: Re: NSMutableParagraphStyle -paragraphSpacingBefore
  • Next by thread: Ignore Spelling not persistent?
  • Index(es):
    • Date
    • Thread