Fix new version dialog ui.

pull/1163/head
Adam Treat 1 year ago
parent 12083fcdeb
commit 15d04a7916

@ -7,6 +7,7 @@ import QtQuick.Layouts
Dialog { Dialog {
id: myDialog id: myDialog
property alias closeButtonVisible: myCloseButton.visible
background: Rectangle { background: Rectangle {
width: parent.width width: parent.width
height: parent.height height: parent.height
@ -17,6 +18,7 @@ Dialog {
} }
MyToolButton { MyToolButton {
id: myCloseButton
x: 0 + myDialog.width - myDialog.padding - width - 15 x: 0 + myDialog.width - myDialog.padding - width - 15
y: 0 - myDialog.padding + 15 y: 0 - myDialog.padding + 15
z: 300 z: 300

@ -13,7 +13,8 @@ MyDialog {
modal: true modal: true
width: contentItem.width width: contentItem.width
height: contentItem.height height: contentItem.height
padding: 10 padding: 20
closeButtonVisible: false
Theme { Theme {
id: theme id: theme

Loading…
Cancel
Save