Set default column size in list views
Set the column size in list views so that the PersistentTreeView has sensible defaults. Fixes #12944.
This commit is contained in:
parent
4b754f0b48
commit
da027eb636
@ -283,8 +283,7 @@ class ListView(NavigationView):
|
||||
column.set_resizable(True)
|
||||
column.set_clickable(True)
|
||||
column.set_sizing(Gtk.TreeViewColumnSizing.FIXED)
|
||||
# removed since we have a PersistentTreeView
|
||||
# column.set_fixed_width(pair[2])
|
||||
column.set_fixed_width(pair[2])
|
||||
|
||||
self.columns.append(column)
|
||||
self.list.append_column(column)
|
||||
|
Loading…
Reference in New Issue
Block a user