mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Fixes for some theme issues on macOS.
This commit is contained in:
parent
fa9f4cca62
commit
06a2a87ff7
@ -122,6 +122,24 @@ Dialog {
|
|||||||
anchors.rightMargin: 10
|
anchors.rightMargin: 10
|
||||||
width: 100
|
width: 100
|
||||||
visible: downloading
|
visible: downloading
|
||||||
|
background: Rectangle {
|
||||||
|
implicitWidth: 200
|
||||||
|
implicitHeight: 30
|
||||||
|
color: theme.backgroundDarkest
|
||||||
|
radius: 3
|
||||||
|
}
|
||||||
|
|
||||||
|
contentItem: Item {
|
||||||
|
implicitWidth: 200
|
||||||
|
implicitHeight: 25
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
width: itemProgressBar.visualPosition * parent.width
|
||||||
|
height: parent.height
|
||||||
|
radius: 2
|
||||||
|
color: theme.backgroundLightest
|
||||||
|
}
|
||||||
|
}
|
||||||
Accessible.role: Accessible.ProgressBar
|
Accessible.role: Accessible.ProgressBar
|
||||||
Accessible.name: qsTr("Download progressBar")
|
Accessible.name: qsTr("Download progressBar")
|
||||||
Accessible.description: qsTr("Shows the progress made in the download")
|
Accessible.description: qsTr("Shows the progress made in the download")
|
||||||
|
@ -119,7 +119,10 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
|
|||||||
alignment: Qt.AlignRight
|
alignment: Qt.AlignRight
|
||||||
spacing: 10
|
spacing: 10
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Enable")
|
contentItem: Text {
|
||||||
|
color: theme.textColor
|
||||||
|
text: qsTr("Enable")
|
||||||
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
border.color: theme.backgroundLightest
|
border.color: theme.backgroundLightest
|
||||||
border.width: 1
|
border.width: 1
|
||||||
@ -134,7 +137,10 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
|
|||||||
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
|
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Cancel")
|
contentItem: Text {
|
||||||
|
color: theme.textColor
|
||||||
|
text: qsTr("Cancel")
|
||||||
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
border.color: theme.backgroundLightest
|
border.color: theme.backgroundLightest
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
@ -80,7 +80,10 @@ Dialog {
|
|||||||
alignment: Qt.AlignRight
|
alignment: Qt.AlignRight
|
||||||
spacing: 10
|
spacing: 10
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Submit")
|
contentItem: Text {
|
||||||
|
color: theme.textColor
|
||||||
|
text: qsTr("Submit")
|
||||||
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
border.color: theme.backgroundLightest
|
border.color: theme.backgroundLightest
|
||||||
border.width: 1
|
border.width: 1
|
||||||
@ -91,7 +94,10 @@ Dialog {
|
|||||||
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
|
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Cancel")
|
contentItem: Text {
|
||||||
|
color: theme.textColor
|
||||||
|
text: qsTr("Cancel")
|
||||||
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
border.color: theme.backgroundLightest
|
border.color: theme.backgroundLightest
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user