mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Slightly improve Downloads progress bar style, but still needs spacing
This commit is contained in:
parent
71149c2937
commit
9a05eef494
@ -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;
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user