سؤال

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