• 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: Half-height lines?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Half-height lines?


  • Subject: Re: Half-height lines?
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 16 Jul 2007 09:00:52 -0700


On Jul 16, 2007, at 8:49 AM, Theodore H. Smith wrote:

can you make a textfield have lines which are "half-height" for empty lines?

Some sort of special Unicode letter? or some sort of special styling?

We see this on HTML pages all the time, between two paragraphs, is a "half height" empty line.

How to do this in Cocoa, though?

NSParagraphStyle has a wide range of line and paragraph spacing options. You can see them in action in TextEdit by choosing "Other..." from the "Spacing" popup on the ruler. HTML whitespace rules mean that it doesn't really have "empty lines"; what it does have is paragraph margins, which is probably what you are thinking of. The closest equivalent would be paragraph spacing, before or after.


Douglas Davidson

_______________________________________________

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


  • Follow-Ups:
    • Re: Half-height lines?
      • From: "Theodore H. Smith" <email@hidden>
References: 
 >Half-height lines? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Preference application
  • Next by Date: Re: Half-height lines?
  • Previous by thread: Half-height lines?
  • Next by thread: Re: Half-height lines?
  • Index(es):
    • Date
    • Thread