Fix placement of our thumbs down dialog and datalake opt-in dialog.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-07-03 07:59:35 -04:00
parent 1ce65e8ef2
commit e821d1d35b
2 changed files with 3 additions and 5 deletions

View File

@ -987,11 +987,8 @@ Rectangle {
ThumbsDownDialog {
id: thumbsDownDialog
property point globalPoint: mapFromItem(window,
window.width / 2 - width / 2,
window.height / 2 - height / 2)
x: globalPoint.x
y: globalPoint.y
x: Math.round((parent.width - width) / 2)
y: Math.round((parent.height - height) / 2)
width: 640
height: 300
property string text: value

View File

@ -7,6 +7,7 @@ import QtQuick.Layouts
Dialog {
id: myDialog
parent: Overlay.overlay
property alias closeButtonVisible: myCloseButton.visible
background: Rectangle {
width: parent.width