I'm using an NSComboBoxCell in an NSTableView, for and NSTableColumn that is usually going to be very narrow (most of the entries will be 3 or fewer characters of text.
It is using bindings and CoreData, and all works well, except for one annoying cosmetic GUI issue:
Because the table column is narrow, the combo box's drop-down list is also very narrow. So narrow in fact, that only one character is displayed followed by elipses ("..."). Obviously, if I make the table column wider it works around the problem, but making the table column wider would ruin other aspects of the layout on screen.
So is there any way to make an NSComboBoxCell for a table column display its drop-down list wider than the table column itself?
I could get away without using the button or drop-down of the combo box at all, and just take advantage of its built-in auto-completion. Is there anyway to hide the button in an NSComboBoxCell?
The only other thing I can think of to try is to automatically have the column width grow every time it starts editing, and shrink back to its pre-edit size every time editing ends (using delegate methods for the table view for start editing, and for the window's field editor when it ends editing). This might work, but it would be a horrible and ugly kludge.
Any other ideas?