• 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: Setting the Line Height/ Line Spacing in an NSTextView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Setting the Line Height/ Line Spacing in an NSTextView. (From: Joshua Garnham <email@hidden>)

  • Prev by Date: Re: NSCollectionView NSArrayController bindings from outer hell
  • Next by Date: Re: [Solved] IPhone- Datasensitive bug from CoreData...
  • Previous by thread: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Next by thread: Setting the Line Height/ Line Spacing in an NSTextView.
  • Index(es):
    • Date
    • Thread