Skip to content

Conversation

@mentalfl0w
Copy link
Contributor

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 .

Copy link
Contributor

@SineStriker SineStriker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

麻烦改成不判断qt版本号,hidden统一设置成YES,在setup完毕后使用setWindowAttribute打开。
或者统一修改成NO(我推荐这个)。

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.
@mentalfl0w
Copy link
Contributor Author

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

@SineStriker SineStriker merged commit 0177eed into stdware:main May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MAC OS 13.6.5 (22G621) qml(6.6.2) 系统按钮有bug

2 participants