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

没有正确的解决方案

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top