How do I use NSTableCellPopup without showing a bezel?
In interface builder when i use开发者_JAVA百科 an NSTableCellPopup it has a simplified appearance (shown on the right), but when build and populated with data the popup bezel is shown, is there a way to keep the simple bezel-less appearance until the user clicks on the control?
I've left the original answer here as it may interest someone later down the line; however, I think I misunderstood what Jared was looking for. To achieve what he's looking for I think it should be as simple as calling setBordered:NO on the instance of NSPopupButtonCell that he is using (the method is inherited from NSCell).
Original: I'd recommend looking at the class reference for NSComboBoxCell. Specifically, it offers the method setButtonBordered: which allows you to control the appearance of the button border on a NSComboBoxCell used in a table view. That is how I would work to achieve the desired result you show above.
精彩评论