I am using a 3 segment NSSegmentedControl for adding and removing configurations, as well as the cog "action" symbol to pop up a menu.
However, when the menu pops up it shows up as follows:
I would much prefer the popup to be displayed centered above the cog segment instead below and sticking off the bottom of my window (which is actually a preference pane).
I have created a subclass of NSSegmentedCell to override the 'action' method as described in this answer.
I would prefer to avoid private APIs if at all possible!