From edd62efd78bf35c52ceea9f0077f82138f5e5e17 Mon Sep 17 00:00:00 2001 From: Christopher Laprise Date: Tue, 21 Mar 2017 10:57:32 -0400 Subject: [PATCH] Progress bar can match light or dark palette --- qubesmanager/table_widgets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/table_widgets.py b/qubesmanager/table_widgets.py index 0a5790f..b5a662a 100644 --- a/qubesmanager/table_widgets.py +++ b/qubesmanager/table_widgets.py @@ -398,11 +398,11 @@ class VmUsageBarWidget (QWidget): "QProgressBar:horizontal{" +\ "border: 1px solid hsv({0}, 100, 250);".format(hue) +\ "border-radius: 4px;\ - background: white;\ + background: transparent;\ text-align: center;\ }\ QProgressBar::chunk:horizontal {\ - background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, " +\ + background: qlineargradient(x1: 1, y1: 0.5, x2: 1, y2: 0.5, " +\ "stop: 0 hsv({0}, 170, 207),".format(hue) + " stop: 1 white); \ }"