SlickEdit Community

Archived Read Only Forums => SlickEdit 2016 v21 Beta Discussion => Topic started by: jporkkahtc on July 25, 2016, 07:06:02 pm

Title: list-buffers column sizes
Post by: jporkkahtc on July 25, 2016, 07:06:02 pm
What should auto-size columns do?


In list-buffers, with "auto-size columns" unchecked, Slick makes the column widths on all 3 tabs the same.
I'd expect that it allow the user to change the widths on all three tabs independently.


When checked, then it auto-sizes to fit the names / paths on each tab separately.
But internally when switching tabs it does something like


x = oldcol.getColWidth();
newcol.setColWidths(x) ;
newcol._TreeSizeColumnToContents

attempting to copy the column widths from one tab to the next, but then undoing that effort with the auto-size.


So, essentially "setColWidth" ends up doing nothing -- you can comment out its code and list-buffers behavior stays the same.





Title: Re: list-buffers column sizes
Post by: jporkkahtc on July 25, 2016, 07:09:38 pm
I found this when adding "Size" and "modified timestamp" to the Buffers tab.

Title: Re: list-buffers column sizes
Post by: Dan on July 25, 2016, 08:06:40 pm
We'll take a look at this.