gpt4 book ai didi

macos - 如何设置NSPopUpButton的菜单位置?

转载 作者:行者123 更新时间:2023-12-03 17:27:23 25 4
gpt4 key购买 nike

我需要为 NSPopUpButton 对象的 NSMenu 设置自定义位置。默认位置如下所示:

enter image description here

但我希望它看起来像这样:

enter image description here

最佳答案

您必须自己推出 - 没有(公共(public))API 来控制 Cocoa NSPopupButton 的这方面。

关于macos - 如何设置NSPopUpButton的菜单位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21691569/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com