Re: Half-height lines?
Re: Half-height lines?
- Subject: Re: Half-height lines?
- From: "Theodore H. Smith" <email@hidden>
- Date: Mon, 16 Jul 2007 17:32:45 +0100
Any hints how I put this into an NSTextField? ;)
On 16 Jul 2007, at 17:00, Douglas Davidson wrote:
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
--
http://elfdata.com/plugin/
"String processing, done right"
_______________________________________________
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