Re: Changing the line height of an NSTextField?

2008-03-26 Thread Nicholas J Humfrey
On 26 Mar 2008, at 22:17, Douglas Davidson wrote: On Mar 26, 2008, at 3:10 PM, Nicholas J Humfrey wrote: In the end I subclased the NSTextField class and overrid the drawRect function. I then split the string up into its lines and drew them myself using drawRect. This is some of the first

Re: Changing the line height of an NSTextField?

2008-03-26 Thread Nicholas J Humfrey
t. 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 Humfre

Changing the line height of an NSTextField?

2008-03-26 Thread Nicholas J Humfrey
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 o