mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Fix #1336 - Uneeded Horizontal Scrollbar shows in Files&Peers Tab
This commit is contained in:
parent
79869faa53
commit
053700342a
2 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,8 @@ class FilesTab(Tab):
|
||||||
column.set_resizable(True)
|
column.set_resizable(True)
|
||||||
column.set_expand(False)
|
column.set_expand(False)
|
||||||
column.set_min_width(100)
|
column.set_min_width(100)
|
||||||
|
# Bugfix: Last column needs max_width set to stop scrollbar appearing
|
||||||
|
column.set_max_width(200)
|
||||||
column.set_reorderable(True)
|
column.set_reorderable(True)
|
||||||
self.listview.append_column(column)
|
self.listview.append_column(column)
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,8 @@ class PeersTab(Tab):
|
||||||
column.set_resizable(True)
|
column.set_resizable(True)
|
||||||
column.set_expand(False)
|
column.set_expand(False)
|
||||||
column.set_min_width(50)
|
column.set_min_width(50)
|
||||||
|
# Bugfix: Last column needs max_width set to stop scrollbar appearing
|
||||||
|
column.set_max_width(150)
|
||||||
column.set_reorderable(True)
|
column.set_reorderable(True)
|
||||||
self.listview.append_column(column)
|
self.listview.append_column(column)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue