Open
Description
Would like to link a trait listener to the TabularEditor
that triggers a recompute of the column widths. I tried refresh
and update
, and both seemed not to recompute the column widths.
Specifically, I want to call _TableView
resizeColumnsToContents
within traitsui/qt4/tabular_editor.py
whenever update_editor
of TabularEditor
(traitsui/qt4/tabular_editor.py
) is triggered using the update trait listener on traitsui’s TabularEditor
.
Or there could be a new listener update_column_widths
in the traitsui TabularEditor
that triggers resizeColumnsToContents
?