Re: NSComboBoxCell in a NSTableView
Re: NSComboBoxCell in a NSTableView
- Subject: Re: NSComboBoxCell in a NSTableView
- From: Stamenkovic Florijan <email@hidden>
- Date: Sat, 24 Oct 2009 10:32:15 -0400
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@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