This is a weird solution that worked for me:

1. Decrease column count to one
2. Click the "Headers" checkbox to disable table headers
3. Click the "Headers" checkbox again to re-enable table headers, and it 
automatically sizes your single column to fill the entire width of the table

This seems to be more of a bug with Xcode but its a quick solution :)

On 2011-03-15, at 11:13 AM, Nicholas Zaccardi wrote:

> I am trying to make an NSTableView with only one column. Here is what I do:
> 
> 1. Open nib
> 2. Add TableView
> 3. Decrease column count
> 4. Save the NIB
> 
> However if I build and run, I still get 2 columns. Any suggestions?
> _______________________________________________
> 
> 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/cocoadev%40indragie.com
> 
> This email sent to cocoa...@indragie.com

_______________________________________________

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

Reply via email to