Making a window fit its contents?
Making a window fit its contents?
- Subject: Making a window fit its contents?
- From: Jack Repenning <email@hidden>
- Date: Sun, 30 Mar 2008 23:06:17 -0700
How can I [someNSTextField setStringValue:someString] (to some value I
only learn at run time), and then resize the window that contains it
so the string is visible? Or, is there something I can set in
Interface Builder that will make this resize happen automatically?
I found a sizeToFit in the NSTextField, but not on the surrounding
NSWindow or NSView.
-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jackrepenning
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden