You'll have to roll your own - there's no (public) API to control that aspect of a Cocoa NSPopupButton
.
How to set NSPopUpButton's menu's position?
-
09-10-2022 - |
Question
I need to set a custom position to the NSMenu
of a NSPopUpButton
object.
The default position looks like this:
But I want it to look like this:
Pas de solution correcte
Autres conseils
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow