On 2 Apr '08, at 7:05 PM, Rob Petrovec wrote:

Anyone have an idea on how to set it up so that the column will auto- resize itself based on the text inside it?

As far as I know you have to do it yourself. You need to get the columns' data cell, set its value to each row's object in turn (i.e. the string the column would display for that row), and ask it for its preferred width. Then get the maximum of those and set the column's width accordingly.

—Jens

Attachment: 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 [EMAIL PROTECTED]

Reply via email to