Re: Space Required By Text
Re: Space Required By Text
- Subject: Re: Space Required By Text
- From: Enrique Zamudio <email@hidden>
- Date: Wed, 30 May 2001 18:00:56 -0500
- Organization: Nasoft
You can use a category of NSAttributedString that's in the AppKit. It
has some methods to calculate the size of a string with a given set of
attributes, such as the font. That way you can know what size to make
your textfield very easily.
eZL