OSX - Disable Fullscreen Mode from the zoom button?

China☆狼群 提交于 2020-12-30 05:35:09

问题


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?


回答1:


Here's what I figured out.

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.



来源:https://stackoverflow.com/questions/33457029/osx-disable-fullscreen-mode-from-the-zoom-button

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!