Fix new version dialog ui.

This commit is contained in:
Adam Treat 2023-07-09 14:56:54 -04:00
parent 12083fcdeb
commit 15d04a7916
2 changed files with 4 additions and 1 deletions

View File

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

View File

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