3

I need to set a custom position to the NSMenu of a NSPopUpButton object. The default position looks like this:

enter image description here

But I want it to look like this:

enter image description here

gabriel_vincent
  • 1,230
  • 3
  • 16
  • 35
  • Just in case you don't *need* to use a NSMenu could could consider using a the button to trigger an NSPopover. Although this still doesn't give you customisation of where it appears (as you have draw it). – Daniel Farrell Feb 12 '14 at 15:29

1 Answers1

-1

You'll have to roll your own - there's no (public) API to control that aspect of a Cocoa NSPopupButton.

cacau
  • 3,606
  • 3
  • 21
  • 42