mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Make the collection dialog progress bar more readable.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
92c025a7f6
commit
cb10465127
@ -121,7 +121,7 @@ MyDialog {
|
|||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
id: speedLabel
|
id: speedLabel
|
||||||
color: theme.textColor
|
color: theme.progressText
|
||||||
visible: model.indexing || model.currentEmbeddingsToIndex !== model.totalEmbeddingsToIndex
|
visible: model.indexing || model.currentEmbeddingsToIndex !== model.totalEmbeddingsToIndex
|
||||||
anchors.verticalCenter: itemProgressBar.verticalCenter
|
anchors.verticalCenter: itemProgressBar.verticalCenter
|
||||||
anchors.left: itemProgressBar.left
|
anchors.left: itemProgressBar.left
|
||||||
|
@ -222,6 +222,17 @@ QtObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
property color progressText: {
|
||||||
|
switch (MySettings.chatTheme) {
|
||||||
|
case "LegacyDark":
|
||||||
|
return "#ffffff";
|
||||||
|
case "Dark":
|
||||||
|
return "#000000";
|
||||||
|
default:
|
||||||
|
return "#000000";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
property color checkboxBorder: {
|
property color checkboxBorder: {
|
||||||
switch (MySettings.chatTheme) {
|
switch (MySettings.chatTheme) {
|
||||||
case "LegacyDark":
|
case "LegacyDark":
|
||||||
|
Loading…
Reference in New Issue
Block a user