Make "name" column automaticall use all space unused by other columns

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
rhoelzl
Posts: 200
Joined: 28 Dec 2009 11:20

Re: Make "name" column automaticall use all space unused by other columns

Post by rhoelzl »

OK, there are two separate things going on:
rhoelzl wrote: 02 Aug 2021 20:23 When I enable it, it shrinks the Name column to the minimum (instead of just all other columns and maximizing Name).
1. This is a bug. When you enable autosize columns for the FIRST time, it makes the width of ALL columns, INCLUDING the name column, minimal. Instead it should only make all other columns minimal and make the name column maximal.

Once you change a folder with the feature already enabled it works correctly though.
rhoelzl wrote: 02 Aug 2021 20:23 And as soon I change the folder, the checkmark on "Autosize columns" disappears again.
2. This is a separate issue, and was my own fault: I had folder views enabled, and had to manually modify every defined folder view to use the autosize columns feature. So this is fixed now.

However I observed two new problems, now that autosize works:

3. The width of a vertical scroll bar is not taken into account when determining how wide the name column should be. this always creates an unnecessary horizontal scrollbar, whenever a vertical scrollbar is present. Actually, the issue seems to be something else. It also appears in folders without vertical scrollbars. It may be related to the changing width of the "Size" column. I am seeing in all kinds of different folders that the name column is often a little bit too wide so that a horizontal scrollbar appears. The amount by which it is too wide is different in every folder. EDIT: Yes, as soon as I remove the "Size" column, it seems to always work.

4. Autosize column should only be using the width of the CONTENT of a column, not its title. My "track number" columns are now much wider than needed because the word "Titelnummer" is much wider than the actual numbers in the column.

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make "name" column automaticall use all space unused by other columns

Post by admin »

1. Still not sure what exactly you mean by "minimal". Do you have a screenshot?
3. Cannot reproduce.
4. That's a good idea. I'll make it optional.

rhoelzl
Posts: 200
Joined: 28 Dec 2009 11:20

Re: Make "name" column automaticall use all space unused by other columns

Post by rhoelzl »

Concerning 1:

Just before enabling "Tools > Customize List > Autosize Columns":
1before.png
1before.png (84.24 KiB) Viewed 1071 times
Just after enabling it:
1after.png
1after.png (81.46 KiB) Viewed 1071 times
As you can see, the maximized width of the "Name" column goes away.

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make "name" column automaticall use all space unused by other columns

Post by admin »

Okay, thanks. The next beta should handle this.

rhoelzl
Posts: 200
Joined: 28 Dec 2009 11:20

Re: Make "name" column automaticall use all space unused by other columns

Post by rhoelzl »

Concerning 3:

This is what it looks like JUST AFTER entering the folder C:\
3.png
3.png (67.88 KiB) Viewed 1069 times


Important observation: If I then resize the XY window, the problem goes away. I suspect it has something to do with the content of the "Size" column being loaded in a delayed fashion, resulting in a change of the width of the Size column, but that the "Name" column does not adapt to the changed size column?

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make "name" column automaticall use all space unused by other columns

Post by admin »

Alright, confirmed as well! :tup: Should be fixed in next beta.

rhoelzl
Posts: 200
Joined: 28 Dec 2009 11:20

Re: Make "name" column automaticall use all space unused by other columns

Post by rhoelzl »

Awesome, thank you!

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make "name" column automaticall use all space unused by other columns

Post by admin »

I thank you. This thread (your idea) led to a feature that I really love! I don't think I'll ever turn it off again. :tup: :appl: :party:

rhoelzl
Posts: 200
Joined: 28 Dec 2009 11:20

Re: Make "name" column automaticall use all space unused by other columns

Post by rhoelzl »

rhoelzl wrote: 02 Sep 2021 09:35 Concerning 1:

Just before enabling "Tools > Customize List > Autosize Columns":

1before.png

Just after enabling it:

1after.png

As you can see, the maximized width of the "Name" column goes away.
New tiny bug observed: This also occurs after using the "Edit Item Names" feature.

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make "name" column automaticall use all space unused by other columns

Post by admin »

Yep. Fixed in next beta.


Post Reply