Re: Changing the line height of an NSTextField?
Re: Changing the line height of an NSTextField?
- Subject: Re: Changing the line height of an NSTextField?
- From: John Stiles <email@hidden>
- Date: Wed, 26 Mar 2008 09:58:51 -0700
I've found that adjusting the font matrix to include a negative Y
transformation has the effect of decreasing the line height. This seemed
like a bug to me when I discovered it, since I just wanted the text to
be translated upwards in its cell, not shrink the line height. I wasn't
sure if it was a bug or desired functionality. If this is the correct
behavior, it's one way to do it.
Nicholas J Humfrey wrote:
Hello Cocoa Developers,
I am trying to squeeze an extra line of text into a multiline
NSTextField, but I can't work out how to adjust the line height? What
is the easiest way of adjusting this?
The purpose of this is that I'm actually using several NSTextFields on
an NSView to lay text out for printing on to a sheet of labels, which
has been working out very nicely up until this point! Perhaps there is
a better way of doing this?
Thanks,
nick.
_______________________________________________
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
_______________________________________________
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