mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-07 19:40:21 +00:00
Add a close button for dialogs.
This commit is contained in:
@@ -8,14 +8,13 @@ import network
|
||||
import llm
|
||||
import mysettings
|
||||
|
||||
Dialog {
|
||||
MyDialog {
|
||||
id: startupDialog
|
||||
anchors.centerIn: parent
|
||||
modal: true
|
||||
opacity: 0.9
|
||||
padding: 20
|
||||
padding: 10
|
||||
width: 1024
|
||||
height: column.height + 40
|
||||
height: column.height + 20
|
||||
closePolicy: !optInStatisticsRadio.choiceMade || !optInNetworkRadio.choiceMade ? Popup.NoAutoClose : (Popup.CloseOnEscape | Popup.CloseOnPressOutside)
|
||||
|
||||
Theme {
|
||||
@@ -345,12 +344,4 @@ model release that uses your data!")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
anchors.fill: parent
|
||||
color: theme.backgroundDarkest
|
||||
border.width: 1
|
||||
border.color: theme.dialogBorder
|
||||
radius: 10
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user