summaryrefslogtreecommitdiff
path: root/onionshare_gui
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2018-02-22 14:44:00 +1100
committerMiguel Jacq <mig@mig5.net>2018-02-22 14:44:00 +1100
commit6998aec50a288e23ecf8233c5ef6c58226055d5a (patch)
tree8f236fb291e0e304801adcc80d5c16d677b6ba0c /onionshare_gui
parent921565158261207b4d4254cb682bea3766c6696d (diff)
downloadonionshare-6998aec50a288e23ecf8233c5ef6c58226055d5a.tar.gz
onionshare-6998aec50a288e23ecf8233c5ef6c58226055d5a.zip
Force a scrollbar on the file list widget. Not pretty but avoids weird text disappearance on resize when scrollbar otherwise activates
Diffstat (limited to 'onionshare_gui')
-rw-r--r--onionshare_gui/file_selection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/onionshare_gui/file_selection.py b/onionshare_gui/file_selection.py
index 6d4d8b15..d39f9ac4 100644
--- a/onionshare_gui/file_selection.py
+++ b/onionshare_gui/file_selection.py
@@ -86,6 +86,7 @@ class FileList(QtWidgets.QListWidget):
self.drop_here_text = DropHereLabel(self, False)
self.drop_count = DropCountLabel(self)
self.resizeEvent(None)
+ self.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
self.setStyleSheet('QListWidget::item { color: #000000; font-size: 13px; }')
def update(self):