gpt4 book ai didi

macos - NSCombobox 太大

转载 作者:行者123 更新时间:2023-12-03 16:20:12 26 4
gpt4 key购买 nike

我正在尝试创建一个 Mac 应用程序。但是在我使用 Interface Builder 插入组合框并运行应用程序后,我收到以下消息:

This application is trying to draw a very large combo box, 28 points tall. Vertically resizable combo boxes are not supported, but it happens that 10.4 and previous drew something that looked kind of sort of okay. The art in 10.5 does not break up in a way that supports that drawing. This application should be revised to stop using large combo boxes. This warning will appear once per app launch.

我尝试将组合框的高度更改为较小的值。但不幸的是,高度在界面构建器中是固定的。有人知道如何消除警告吗?

环境:

  • Xcode 6
  • Mac 操作系统优胜美地
  • 语言:Objective C

最佳答案

在 Interface Builder (IB)、实用程序、大小检查器中:将控件大小从常规更改为,然后返回常规

它对我有用 - 摆脱了 OP 中显示的消息。

关于macos - NSCombobox 太大,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26058083/

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