Page 1 of 1

Autosize for column in view mode 'List' as in Explorer

Posted: 31 Oct 2019 18:52
by DmFedorov
In the "List" mode the column is divided into several parts, which are displayed from left to right.
The width of these parts in XYplorer is same and equal to the longest element in the whole column.
In Explorer the width of these parts are different, and the width of each part determines the longest visible element in this part.

I would like to have in XYplorer such size in the "List" mode.

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 31 Oct 2019 19:53
by medder
Both methods have pros and cons.

Explorer autosizes each column individually. The list items look nice.
The long titles are not cropped, the short titles don't leave blank spaces.
This "view" works good for "small" folders (less than 100-300 elements).

But XYplorer lets us change the column width by resizing the Name column header.
That is an awesome feature for the large folders (1000+ files).
Also the number of elements on the screen is always equal in XYplorer (e.g. each "Page Down" skips to the next 300 items).
That way you can scroll through the large folder with a constant speed.

It would be great to see both methods implemented in XYPlorer, along with some checkbox to quickly switch from the user-controlled column size (XYplorer) to automatic size calculation for each column (Explorer).

The difference (XYplorer on the top, Explorer on the bottom):

screen-191031-202600.png
screen-191031-202600.png (62.85 KiB) Viewed 2729 times

As you can see, I had to set a pretty small column width in XYplorer to match the same screen space (for this sample set of elements). While Explorer manages to display the full names, XYplorer has to cut the names to 16 symbols: Downloaded Progr...

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 31 Oct 2019 20:38
by ZeroTolerance
medder wrote: 31 Oct 2019 19:53 It would be great to see both methods implemented in XYPlorer, along with some checkbox to quickly switch from the user-controlled column size (XYplorer) to automatic size calculation for each column (Explorer).
:appl:
YES !
I really need this !

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 31 Oct 2019 21:37
by DmFedorov
Please do not forget that on XYplorer-picture on the top we see column to which is not applied option "autosize".
If we apply "autosize", the picture changes.
And I would like to have Explorer's version of drawing column by clicking option "autosize".

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 01 Nov 2019 08:13
by ZeroTolerance
DmFedorov wrote: 31 Oct 2019 21:37And I would like to have Explorer's version of drawing column by clicking option "autosize".
Exactly !
I find no advantage in XYplorer`s autosize algorithm.
Only Explorer's autosize algorithm is correct.

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 01 Nov 2019 15:23
by medder
Some more thoughts about the current columns behavior.

When "Autosize columns" is OFF:

I mostly use the Details view. And I usually make the Name column wide (450-700px).
But when I switch to the List view, this column width is inappropriate.
So my suggestion is to save different (name) column width for each view (Details/List/Tiles).
E.G. That way I could have 600px wide name column in Details, but the List columns would be 200px wide.
(and no manual resizing would be required when switching from Details to List)

When "Autosize columns" is ON:
Details and List columns should have separate values for "AutosizeColumnsMaxWidth".
E.g. 750px for "Details" and 400px for "List".

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 01 Nov 2019 15:58
by ZeroTolerance
medder wrote: 01 Nov 2019 15:23 When "Autosize columns" is ON:
Details and List columns should have....
No need any "special inventions".
Just look at the LTSB 2016 Explorer`s behaviour -- that 's exactly what we need.

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 01 Nov 2019 18:03
by medder
ZeroTolerance wrote: 01 Nov 2019 15:58
medder wrote: 01 Nov 2019 15:23 When "Autosize columns" is ON:
Details and List columns should have....
No need any "special inventions".
Just look at the LTSB 2016 Explorer`s behaviour -- that 's exactly what we need.
My suggestion was not for some special invention. It was just an "easy fix" to make the current behavior a bit more comfortable. (even without bringing the Explorer's individual column auto-width)

Auto-mode in Explorer is also far from perfect. When browsing through the files with long names Explorer cuts them at approximately 800px or 128 symbols. Such column width is too large for the List view (2 columns per scroll). And there's nothing you can do. So even if the Explorer's behavior was to be implemented in XYplorer, the little customization options I suggested (separate MaxAutoWidth values for Details and List) would also be quite useful.

Re: Autosize for column in view mode 'List' as in Explorer

Posted: 01 Nov 2019 18:22
by ZeroTolerance
medder wrote: 01 Nov 2019 18:03It was just an "easy fix" to make the current behavior a bit more comfortable. (even without bringing the Explorer's individual column auto-width)
Sorry, but I don`t need a little bit more comfortable behavior.
I need exactly like Explorer.