Fix #1336 - Uneeded Horizontal Scrollbar shows in Files&Peers Tab
This commit is contained in:
parent
79869faa53
commit
053700342a
@ -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…
x
Reference in New Issue
Block a user