mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04: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 {
|
||||
id: speedLabel
|
||||
color: theme.textColor
|
||||
color: theme.progressText
|
||||
visible: model.indexing || model.currentEmbeddingsToIndex !== model.totalEmbeddingsToIndex
|
||||
anchors.verticalCenter: itemProgressBar.verticalCenter
|
||||
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: {
|
||||
switch (MySettings.chatTheme) {
|
||||
case "LegacyDark":
|
||||
|
Loading…
Reference in New Issue
Block a user