On Sep 3, 2008, at 6:01 AM, an0 wrote:

So, can anyone tell me why all these fell through so badly, and what
is the true straightforward way to do this if any?

The true straightforward way to do this is with -sizeToFit. - sizeWithAttributes: will give you the size of the string, but what you appear to want here is to size the textfield, which is not the same thing.

Douglas Davidson

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to