Slightly improve Downloads progress bar style, but still needs spacing

This commit is contained in:
Micah Lee 2018-09-28 19:05:26 -07:00
parent 71149c2937
commit 9a05eef494
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 1 additions and 14 deletions

View File

@ -285,7 +285,7 @@ class Common(object):
background-color: #ffffff !important; background-color: #ffffff !important;
text-align: center; text-align: center;
color: #9b9b9b; color: #9b9b9b;
font-size: 12px; font-size: 14px;
} }
QProgressBar::chunk { QProgressBar::chunk {
background-color: #4e064f; background-color: #4e064f;

View File

@ -190,19 +190,6 @@ class Downloads(QtWidgets.QWidget):
# Reset once at the beginning # Reset once at the beginning
self.reset() self.reset()
"""
# Scroll bar
self.vbar = self.verticalScrollBar()
self.vbar.rangeChanged.connect(self.resizeScroll)
"""
def resizeScroll(self, minimum, maximum):
"""
Scroll to the bottom of the window when the range changes.
"""
pass
#self.vbar.setValue(maximum)
def add(self, download_id, total_bytes): def add(self, download_id, total_bytes):
""" """
Add a new download progress bar. Add a new download progress bar.