Re: Setting the Line Height/ Line Spacing in an NSTextView.
Re: Setting the Line Height/ Line Spacing in an NSTextView.
- Subject: Re: Setting the Line Height/ Line Spacing in an NSTextView.
- From: Graham Cox <email@hidden>
- Date: Sat, 26 Dec 2009 10:25:16 +1100
On 25/12/2009, at 5:25 AM, Joshua Garnham wrote:
> How would I set the Line Height/ Line Spacing in an NSTextView? e.g How
> tall each line is or how much space is between each line.
These are all properties of a NSParagraphStyle, which is itself a property applied to a range of characters within an NSAttributedString (which in turn is owned by a NSTextView as its -textStorage). That should be enough for you to locate the relevant docs and proceed.
--Graham
_______________________________________________
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