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

@@ -8,7 +8,7 @@ import network
import llm
import mysettings
Dialog {
MyDialog {
id: networkDialog
anchors.centerIn: parent
modal: true
@@ -94,14 +94,6 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
}
}
background: Rectangle {
anchors.fill: parent
color: theme.backgroundDarkest
border.width: 1
border.color: theme.dialogBorder
radius: 10
}
footer: DialogButtonBox {
id: dialogBox
padding: 20