1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 07:45:36 +00:00

Merge branch 'unify_operation_bars' into 'master'

Unify operation progress bar appearance

See merge request OpenMW/openmw!4154
This commit is contained in:
Alexei Kotov 2024-06-05 11:31:27 +00:00
commit 32ca57c9ad

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";