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: Andy Lee <email@hidden>
- Date: Thu, 31 Dec 2009 13:18:54 -0500
On Dec 31, 2009, at 1:14 PM, Joshua Garnham wrote:
> So would this work?…
>
> CGFloat spacing = 5.0f;
> NSMutablePargagraphStyle *paragraphStyle;
> [paragraphStyle setLineSpacing:spacing];
> [paragraphStyle setMinimumLineHeight:spacing];
> [paragraphStyle setMaximumLineHeight:spacing];
> [textView setDefaultParagraphStyle:paragraphStyle];
Why don't you tell us?
--Andy
_______________________________________________
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