We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用的qt 5.15.13测试,显示窗口时会比默认设置的高31,拖动窗口后会恢复到设置的数值
The text was updated successfully, but these errors were encountered:
确实,widget也有这个问题。这个问题我看了一下比较复杂,暂时不太好解决,现在还是请尽量在setup以后再调整尺寸。
Sorry, something went wrong.
试了一下,需要在窗口显示之后再显式设置高度(随便一个数值),然后通过centralize居中
Window { id: window maximumHeight: 600 minimumHeight: 600 maximumWidth: 800 minimumWidth: 800 Component.onCompleted: { windowAgent.setup(window) window.visible = true window.height = maximumHeight windowAgent.centralize() } }
这个bug Ubuntu下未复现
wangwenx190
No branches or pull requests
使用的qt 5.15.13测试,显示窗口时会比默认设置的高31,拖动窗口后会恢复到设置的数值
The text was updated successfully, but these errors were encountered: