Domanda

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

Nessuna soluzione corretta

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top