From 7522201e064f18a88c5548f5cd7a2d4515fcac18 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 18 Sep 2017 15:06:50 +0200 Subject: [PATCH] [minor] beautiful progressbar --- pylot/styles/bright.qss | 2 +- pylot/styles/dark.qss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/styles/bright.qss b/pylot/styles/bright.qss index e6a1a407..732a147c 100644 --- a/pylot/styles/bright.qss +++ b/pylot/styles/bright.qss @@ -250,5 +250,5 @@ background-color:rgba(230, 230, 230, 255); } QProgressBar::chunk{ -background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 70, 180, 150), stop:1 transparent); +background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0.5, y2:0, stop:0 transparent, stop:1 rgba(0, 70, 180, 150)); } diff --git a/pylot/styles/dark.qss b/pylot/styles/dark.qss index 8523ac2c..30f7efd1 100644 --- a/pylot/styles/dark.qss +++ b/pylot/styles/dark.qss @@ -249,5 +249,5 @@ background-color:rgba(60, 60, 70, 255); } QProgressBar::chunk{ -background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 150, 190, 255), stop:1 transparent); +background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0.5, y2:0, stop:0 transparent, stop:1 rgba(0, 150, 190, 255)); }