Open mario-liu opened 6 months ago
在QML模式中拖动标题栏会使窗口内的控件错位,应该刚好错位一个标题栏的高度。 另外如果设置qputenv("QSG_RHI_BACKEND", "opengl");的话会使标题栏的y坐标变为负数,也就是在窗口外面。
qputenv("QSG_RHI_BACKEND", "opengl");
Text { anchors { bottom: parent.bottom bottomMargin: 32 left: parent.left } font { pointSize: 14 bold: true } color: "#ECECEC" text: 'test' }
https://github.com/stdware/qwindowkit/assets/116291671/7982c23a-2446-4719-9d47-54881d12e19b
24 与这个issue一致,需要给点时间一个一个修...
感谢,辛苦!
在QML模式中拖动标题栏会使窗口内的控件错位,应该刚好错位一个标题栏的高度。 另外如果设置
qputenv("QSG_RHI_BACKEND", "opengl");
的话会使标题栏的y坐标变为负数,也就是在窗口外面。https://github.com/stdware/qwindowkit/assets/116291671/7982c23a-2446-4719-9d47-54881d12e19b