Make "name" column automaticall use all space unused by other columns
Make "name" column automaticall use all space unused by other columns
Is it possible to set XY up in such a way, that all columns except the "Name" column always have autosized width, and all the remaining space is always used by the "Name" column?
I know about the "Adaptive Name Column Width" feature, but as far as I understand that still requires initially setting up the desired widths by hand. (Also, this feature has recently produced odd behaviours on my PC; I keep getting absurdly wide "Name" columns; I have not recognized a patten yet, when this happens; will keep observing).
I know about the "Adaptive Name Column Width" feature, but as far as I understand that still requires initially setting up the desired widths by hand. (Also, this feature has recently produced odd behaviours on my PC; I keep getting absurdly wide "Name" columns; I have not recognized a patten yet, when this happens; will keep observing).
Re: Make "name" column automaticall use all space unused by other columns
Afaik not. At least not if you don't want to let the name column jump two times on each folder change (1. autosize + 2. set to the maximum available width)
@Don
Would it be possible to allow the setcolumns() command to autosize specific columns only?
Something like:
Which would only autosize "Modified" and not all...
@Don
Would it be possible to allow the setcolumns() command to autosize specific columns only?
Something like:
setcolumns("Modified", 4+16);
Which would only autosize "Modified" and not all...
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60558
- 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
1) Interesting idea.
2) setcolumns() ... probably can make it do that. Tomorrow...
2) setcolumns() ... probably can make it do that. Tomorrow...
FAQ | XY News RSS | XY Twitter
Re: Make "name" column automaticall use all space unused by other columns
Cool, will use that myself^^
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60558
- 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
You mean 2)?
I think it would be clearer to add a new command for it:
autosizecolumn "Modified";
FAQ | XY News RSS | XY Twitter
Re: Make "name" column automaticall use all space unused by other columns
Yeah, the second part.
Let it accept multiple columns at once please and maybe rename it toI think it would be clearer to add a new command for it
autosizecolumns
thenOne of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60558
- 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
Conc 1) ( Make "name" column automatically use all space unused by other columns)
Needs some more thinking. I've put it on my list.
Needs some more thinking. I've put it on my list.
FAQ | XY News RSS | XY Twitter
Re: Make "name" column automaticall use all space unused by other columns
Awesome, thanks.
I think for me this would be the method I would always use:
Because depending on the folder view, I have different columns enabled. But all of the ones I use contain more or less fixed width content (date, file size, mp3 track #, etc.) that I need to see in full for it to have any informational value. So autosize would be the correct thing for them. And then all the remaining space should be used for name obviously, especially since file names can have VERY different length, unlike the data in the other columns.
-
- Site Admin
- Posts: 60558
- 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
Questions to answer:
1. What if the remaining space becomes very small or even negative? So I guess a minimum width for the Name column has to be defined.
2. What if the remaining space becomes very large? The result might look funny or hard to read. So maybe also a maximum width for the Name column has to be defined.
3. What if the list is resized? Auto-size the Name column with it in real-time?
1. What if the remaining space becomes very small or even negative? So I guess a minimum width for the Name column has to be defined.
2. What if the remaining space becomes very large? The result might look funny or hard to read. So maybe also a maximum width for the Name column has to be defined.
3. What if the list is resized? Auto-size the Name column with it in real-time?
FAQ | XY News RSS | XY Twitter
Re: Make "name" column automaticall use all space unused by other columns
1. Yes, probably useful.admin wrote: ↑30 Jul 2021 09:56 Questions to answer:
1. What if the remaining space becomes very small or even negative? So I guess a minimum width for the Name column has to be defined.
2. What if the remaining space becomes very large? The result might look funny or hard to read. So maybe also a maximum width for the Name column has to be defined.
3. What if the list is resized? Auto-size the Name column with it in real-time?
2. Not relevant for me (I don't have such a giant screen, and I actually like it visually if all the meta data always is neatly arranged at the right side of the window) but probably useful for some people.
3. If by "auto-size the Name column" you mean "always update the width of the Name column so that at any given moment it uses whatever space is left" then yes that would be great.
-
- Site Admin
- Posts: 60558
- 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
I implemented this now as a tweak, and I have to say: Great feature! Works smooth and feels natural and easy to understand. Next beta...
It's also probably better than "Configuration | Colors and Styles | Styles | Columns | Adaptive name column width" which I might even drop in favor of the new feature.
It's also probably better than "Configuration | Colors and Styles | Styles | Columns | Adaptive name column width" which I might even drop in favor of the new feature.
FAQ | XY News RSS | XY Twitter
Re: Make "name" column automaticall use all space unused by other columns
Awesome, thank you! Looking forward to it!
Yes, I agree. The old version was always just the "second best" solution.
Re: Make "name" column automaticall use all space unused by other columns
The beta with that tweak is already out...Looking forward to it!
One of my scripts helped you out? Please donate via Paypal
Re: Make "name" column automaticall use all space unused by other columns
Just installed the beta and set "ListAutoMaxNameColumn=1" in the config file.
But nothing happens. What am I doing wrong?
But nothing happens. What am I doing wrong?