Fixes for some theme issues on macOS.

This commit is contained in:
Adam Treat 2023-04-24 00:14:52 -04:00
parent fa9f4cca62
commit 06a2a87ff7
3 changed files with 34 additions and 4 deletions

View File

@ -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")

View File

@ -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 {
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 {
contentItem: Text {
color: theme.textColor
text: qsTr("Cancel")
}
background: Rectangle {
border.color: theme.backgroundLightest
border.width: 1

View File

@ -80,7 +80,10 @@ Dialog {
alignment: Qt.AlignRight
spacing: 10
Button {
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 {
contentItem: Text {
color: theme.textColor
text: qsTr("Cancel")
}
background: Rectangle {
border.color: theme.backgroundLightest
border.width: 1