stdware / qwindowkit

Cross-platform frameless window framework for Qt. Support Windows, macOS, Linux.
Apache License 2.0
442 stars 67 forks source link

Fix macOS title bar buttons not displaying properly. #75

Closed mentalfl0w closed 2 months ago

mentalfl0w commented 2 months ago

In order for macOS windows to display buttons properly, we can't hide macOS native buttons, otherwise the title bar will appear on top of the buttons. The easiest manual solution is to refresh the window's flag, but for convenience, it's better to just not hide it. Fix #60 .

mentalfl0w commented 2 months ago

好的,统一修改成NO应该能避免出现一些意料外的情况,已经修改。