1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Unify operation progress bar appearance

This commit is contained in:
Andrei Kortunov 2024-06-04 11:07:08 +04:00
parent 56b31d87e3
commit eac2082e82

View File

@ -95,11 +95,12 @@ void CSVDoc::Operation::setBarColor(int type)
QString style
= "QProgressBar {"
"text-align: center;"
"border: 1px solid #4e4e4e;"
"}"
"QProgressBar::chunk {"
"background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 %1, stop:.50 %2 stop: .51 %3 stop:1 %4);"
"text-align: center;"
"margin: 2px 2px 2px 2px;"
"margin: 2px;"
"}";
QString topColor = "#9e9e9e";