> On 22 Aug 2017, at 18:17, Quincey Morris 
> <[email protected]> wrote:
> 
> On Aug 22, 2017, at 10:02 , Jonathan Mitchell <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to