OSX-通过缩放按钮禁用全屏模式? [英] OSX - Disable Fullscreen Mode from the zoom button?

查看:59
本文介绍了OSX-通过缩放按钮禁用全屏模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在XIB编辑器中寻找 NSWindow 的设置选项,或者通过编程方式获取我可以在 OS X中禁用全屏模式功能.(而是将其用于常规窗口缩放.)

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆