mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05: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;
|
||||
text-align: center;
|
||||
color: #9b9b9b;
|
||||
font-size: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: #4e064f;
|
||||
|
@ -190,19 +190,6 @@ class Downloads(QtWidgets.QWidget):
|
||||
# Reset once at the beginning
|
||||
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):
|
||||
"""
|
||||
Add a new download progress bar.
|
||||
|
Loading…
Reference in New Issue
Block a user