Make SimpleTable columns resizable

svn: r12483
This commit is contained in:
Doug Blank 2009-04-20 21:00:20 +00:00
parent 21414d184f
commit aa7ff9cf68

View File

@ -330,6 +330,7 @@ class SimpleTable:
column = gtk.TreeViewColumn(col,renderer,markup=model_index) column = gtk.TreeViewColumn(col,renderer,markup=model_index)
else: else:
column = gtk.TreeViewColumn(col,renderer,text=model_index) column = gtk.TreeViewColumn(col,renderer,text=model_index)
column.set_resizable(True)
if self.__sort_vals[cnt] != []: if self.__sort_vals[cnt] != []:
sort_data.append(self.__sort_vals[cnt]) sort_data.append(self.__sort_vals[cnt])
column.set_sort_column_id(len(self.__columns) + column.set_sort_column_id(len(self.__columns) +