Editor: allow name and path column in editor source list to be manually resizable

This commit is contained in:
Paul Davis 2020-07-19 23:10:43 -06:00
parent 808b4d69c8
commit 764dd20f93

View File

@ -146,6 +146,11 @@ EditorSources::EditorSources (Editor* e)
{ -1, 0, 0 }
};
/* make Name and Path columns manually resizable */
_display.get_column (0)->set_resizable (true);
_display.get_column (4)->set_resizable (true);
for (int i = 0; ci[i].index >= 0; ++i) {
col = _display.get_column (ci[i].index);
l = manage (new Label (ci[i].label));