mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Fix new version dialog ui.
This commit is contained in:
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…
Reference in New Issue
Block a user