mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 13:45:34 +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:
commit
32ca57c9ad
1 changed files with 2 additions and 1 deletions
|
@ -95,11 +95,12 @@ void CSVDoc::Operation::setBarColor(int type)
|
||||||
QString style
|
QString style
|
||||||
= "QProgressBar {"
|
= "QProgressBar {"
|
||||||
"text-align: center;"
|
"text-align: center;"
|
||||||
|
"border: 1px solid #4e4e4e;"
|
||||||
"}"
|
"}"
|
||||||
"QProgressBar::chunk {"
|
"QProgressBar::chunk {"
|
||||||
"background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 %1, stop:.50 %2 stop: .51 %3 stop:1 %4);"
|
"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;"
|
"text-align: center;"
|
||||||
"margin: 2px 2px 2px 2px;"
|
"margin: 2px;"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
QString topColor = "#9e9e9e";
|
QString topColor = "#9e9e9e";
|
||||||
|
|
Loading…
Reference in a new issue