Add a close button for dialogs.

This commit is contained in:
Adam Treat
2023-07-06 10:53:43 -04:00
parent fb576fbd7e
commit db528ef1b0
12 changed files with 54 additions and 82 deletions

View File

@@ -7,7 +7,7 @@ import download
import network
import llm
Dialog {
MyDialog {
id: thumbsDownDialog
modal: true
opacity: 0.9
@@ -65,14 +65,6 @@ Dialog {
}
}
background: Rectangle {
anchors.fill: parent
color: theme.backgroundDarkest
border.width: 1
border.color: theme.dialogBorder
radius: 10
}
footer: DialogButtonBox {
padding: 20
alignment: Qt.AlignRight