NSTableView automatic column size
NSTableView automatic column size
- Subject: NSTableView automatic column size
- From: Varun Chandramohan <email@hidden>
- Date: Tue, 01 Jul 2014 23:46:23 +0000
- Thread-topic: NSTableView automatic column size
Hi All,
I have a NSTableView (View based) with 8 NSTableColumn each of which has NSTableCellView as default built from IB. I followed apple guide https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/TableView/Introduction/Introduction.html#//apple_ref/doc/uid/10000026i-CH1-SW1 and populated the table programatically as specified in the guide. This seem to work properly. I noticed that one or more columns are populated with strings that are large and so the view seem to cut them off with "Blah..." which is understandable. However when I resize the that column to see the rest of the string I only see "Blah...". Its as if only a part of the string was populated into the NSTextField as part of NSTableCellView. I did not find any information on this in the guide. Any pointers? I would have expected this to be the default behaviour.
Regards,
Varun
_______________________________________________
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