Good point. When I print out the size or rect that these return, I invariably get either {0, 0} or something absurd like {{1.17076e-318, 2.29357e-314}, {2.30359e-314, 2.1224e-314}} (that's just running the rect through NSStringFromRect())
Dave On Nov 19, 2009, at 3:37 PM, Jens Alfke wrote: > > On Nov 19, 2009, at 1:28 PM, Dave DeLong wrote: > >> I have an NSTextView that I need to resize dynamically. NSTextView appears >> to resize itself as I add text, but I also need it to shrink itself as I >> delete text. Here's what I've tried: > > Several of those look like reasonable calls for this purpose. You didn't > specify what went wrong when you called them ... ? > > —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 arch...@mail-archive.com