OSX-通过缩放按钮禁用全屏模式? [英] OSX - Disable Fullscreen Mode from the zoom button?
问题描述
我正在XIB编辑器中寻找 NSWindow
的设置选项,或者通过编程方式获取我可以在 OS X中禁用全屏模式功能当用户单击缩放按钮(绿色交通信号灯)时,因为它不适用于我的UI设计,因此strong>.(而是将其用于常规窗口缩放.)
I'm looking for either a setting option of NSWindow
in XIB editor or via programmatically take I can disable the fullscreen mode feature in OS X when the user clicks the zoom button (green traffic light), as it does not work well with my UI design. (Instead, use it for normal window zooming.)
任何人都可以给我一些在哪里找的提示?
Anyone can give me some hints where to look for?
推荐答案
这就是我想出的.
要将缩放按钮的行为更改为普通窗口缩放(而不是隐藏按钮),请将窗口更改为"辅助"即可.
To change the behavior of the zoom button to normal window zooming (not by hiding the button), change the window to "Auxiliary" will do.
属性检查器>全屏>辅助窗口
Attributes Inspector > Full Screen > Auxiliary Window
如果对此有更好的答案,我很乐意接受它作为正确答案.
If there's a better answer to this, I'd be more than happy to accept that as the correct answer.
这篇关于OSX-通过缩放按钮禁用全屏模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!