Fix #1336 - Uneeded Horizontal Scrollbar shows in Files&Peers Tab
This commit is contained in:
parent
3794773e95
commit
2c615e468b
|
@ -161,6 +161,8 @@ class FilesTab(Tab):
|
|||
column.set_resizable(True)
|
||||
column.set_expand(False)
|
||||
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)
|
||||
self.listview.append_column(column)
|
||||
|
||||
|
|
|
@ -161,6 +161,8 @@ class PeersTab(Tab):
|
|||
column.set_resizable(True)
|
||||
column.set_expand(False)
|
||||
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)
|
||||
self.listview.append_column(column)
|
||||
|
||||
|
|
Loading…
Reference in New Issue