Fixes for some theme issues on macOS.

pull/520/head
Adam Treat 1 year ago
parent fa9f4cca62
commit 06a2a87ff7

@ -122,6 +122,24 @@ Dialog {
anchors.rightMargin: 10
width: 100
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.name: qsTr("Download progressBar")
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
spacing: 10
Button {
text: qsTr("Enable")
contentItem: Text {
color: theme.textColor
text: qsTr("Enable")
}
background: Rectangle {
border.color: theme.backgroundLightest
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
}
Button {
text: qsTr("Cancel")
contentItem: Text {
color: theme.textColor
text: qsTr("Cancel")
}
background: Rectangle {
border.color: theme.backgroundLightest
border.width: 1

@ -80,7 +80,10 @@ Dialog {
alignment: Qt.AlignRight
spacing: 10
Button {
text: qsTr("Submit")
contentItem: Text {
color: theme.textColor
text: qsTr("Submit")
}
background: Rectangle {
border.color: theme.backgroundLightest
border.width: 1
@ -91,7 +94,10 @@ Dialog {
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
}
Button {
text: qsTr("Cancel")
contentItem: Text {
color: theme.textColor
text: qsTr("Cancel")
}
background: Rectangle {
border.color: theme.backgroundLightest
border.width: 1

Loading…
Cancel
Save