Skip to content
New issue

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

QML模式控件位置异常 #42

Open
mario-liu opened this issue Feb 20, 2024 · 2 comments
Open

QML模式控件位置异常 #42

mario-liu opened this issue Feb 20, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@mario-liu
Copy link

在QML模式中拖动标题栏会使窗口内的控件错位,应该刚好错位一个标题栏的高度。
另外如果设置qputenv("QSG_RHI_BACKEND", "opengl");的话会使标题栏的y坐标变为负数,也就是在窗口外面。

    Text {
        anchors {
            bottom: parent.bottom
            bottomMargin: 32
            left: parent.left
        }
        font {
            pointSize: 14
            bold: true
        }
        color: "#ECECEC"
        text: 'test'
    }
video.mp4
@SineStriker
Copy link
Contributor

#24 与这个issue一致,需要给点时间一个一个修...

@mario-liu
Copy link
Author

#24 与这个issue一致,需要给点时间一个一个修...

感谢,辛苦!

@SineStriker SineStriker added the duplicate This issue or pull request already exists label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants