On Oct 24, 2009, at 10:04, Timothy Reaves wrote:

What is the correct way to size this? I have it added, and it's used. But by default, it doesn't size to hold it's content. I can set he width of the table column to a better width, but I can't seem to find how to size the height.

Is there any way to get the table view - or column - to auto-size to correctly hold the combo box cell?

-[NSTableView setRowHeight]

NSTableView won't autosize, but somewhere in your code you can set the row height to the height of the cell. Also you might consider setting a different control size on the cell.

F
_______________________________________________

Cocoa-dev mailing list ([email protected])

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