mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 10:45:33 +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
|
||||
= "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";
|
||||
|
|
Loading…
Reference in a new issue