Re: Half-height lines?
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