Use widget instead of type to set column fixed
issue6696 review43371002
This commit is contained in:
1 parent
eadae22a7c
commit
f8df73da42
1 file changed
+1
-1
@@ -515,7 +515,7 @@ class ViewTree(View):
|
||||
expand = attributes.get('expand', False)
|
||||
column.set_expand(expand)
|
||||
column.set_resizable(True)
|
||||
if not field or field.attrs['type'] != 'text':
|
||||
if attributes.get('widget') != 'text':
|
||||
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
|
||||
|
||||
def get_column_widget(self, column):
|
||||
|
||||
Reference in new issue
Block a user