Re: NSTextField sizing to fit
Re: NSTextField sizing to fit
- Subject: Re: NSTextField sizing to fit
- From: matt neuburg <email@hidden>
- Date: Tue, 17 Dec 2002 12:19:02 -0800
On Tue, 17 Dec 2002 09:42:32 -0600, Nicholas Riley <email@hidden> said:
>
I'm trying to make a NSTextField fit to the height of its containing
>
text given a particular width. I'm getting a height back from Cocoa
>
which is almost what i want, but a few pixels short
I'm guessing there's a bug in Cocoa. In my app I print several identically laid out pages full of strings drawn into fixed rect; it often happens that even though both the string and the rect are identical on two different pages, they wrap differently, or the very end of the last letter is cut off on one page but not another. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.