Module: deluge Branch: 1.3-stable Commit: 2c615e468b5e41d8043dfc4555bd33c5279173e1
Author: Calum Lind <[email protected]> Date: Sun Feb 6 03:04:14 2011 +0000 Fix #1336 - Uneeded Horizontal Scrollbar shows in Files&Peers Tab --- deluge/ui/gtkui/files_tab.py | 2 ++ deluge/ui/gtkui/peers_tab.py | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/deluge/ui/gtkui/files_tab.py b/deluge/ui/gtkui/files_tab.py index c43d85b..af99c0c 100644 --- a/deluge/ui/gtkui/files_tab.py +++ b/deluge/ui/gtkui/files_tab.py @@ -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) diff --git a/deluge/ui/gtkui/peers_tab.py b/deluge/ui/gtkui/peers_tab.py index 9e4b92d..7f4ad17 100644 --- a/deluge/ui/gtkui/peers_tab.py +++ b/deluge/ui/gtkui/peers_tab.py @@ -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) -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
