相关疑难解决方法(0)

NSToolbarItem:"确保此工具栏项具有有效的帧/最小/最大大小"?

自从升级到Mac OS Sierra和新的XCode版本后,每次为每个NSToolbarItem启动应用程序时都会出现以下错误:

Example 1:
2016-09-29 12:46:58.659879 AppTest[] NSToolbarItem (<NSToolbarItem: >) had to adjust the size of <NSPopUpButton: > from {130, 26} to the expected size of {132, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint
Example 2:
2016-09-29 12:46:58.666074 AppTest[] NSToolbarItem (<NSToolbarItem: >) had to adjust the size of <NSButton: > from {60, 25} to the …
Run Code Online (Sandbox Code Playgroud)

macos cocoa nstoolbar nstoolbaritem macos-sierra

9
推荐指数
1
解决办法
1187
查看次数

标签 统计

cocoa ×1

macos ×1

macos-sierra ×1

nstoolbar ×1

nstoolbaritem ×1