Column autosize idea...

Features wanted...
kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Column autosize idea...

Post by kunkel321 »

An idea of how to program the automatic sizing of column widths when in Details View...

In below image:
A = total pane width
B = Name column
C = width of everything other than Name column

For my own purposes (and maybe that of other people), C remains constant. So make B = A-C.
(As I write this, it occurs to me that this is probably already a pref option.. If so, where is the setting?)
Image
ste(phen|ve) kunkel

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Column autosize idea...

Post by binocular222 »

Tweak: AutosizeColumnsMaxWidth
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Column autosize idea...

Post by kunkel321 »

binocular222 wrote:Tweak: AutosizeColumnsMaxWidth
I think this is always a static number though (unless 0, unlimited). I'm imagining a 'dynamically' changing number. The idea is to always allow the maximum space for long file names, but also, always squeeze my other columns (Ext, Date, Size) in there so that I never have to use the horizontal scroll bar... Does that even make sense?

EDIT: Since XY has to always assess that tweak when drawing the pane, I'm guessing that the additional computational resources needed to calculate "B" (as defined above) would be negligible. (?)
ste(phen|ve) kunkel

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Column autosize idea...

Post by highend »

It does (I would like the same) but... it comes at a cost. At least for me.

If you use a high resolution 16:9 monitor and only the few standard columns (size, modified, created) the name column would be incredible large even if your (file / folder-) names aren't and it's getting harder to see which properties belong to what. At least if you don't use things like zebra striping (which I don't). So user defined rules how columns are sized would be required to fit everybody's needs...
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Column autosize idea...

Post by TheQwerty »

What happens when C > A?

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Column autosize idea...

Post by kunkel321 »

highend wrote:It does (I would like the same) but... it comes at a cost. At least for me.[...].
Hmm.. Yea, good point about having the name column too far away... I guess maybe there'd need to be a point where C would stop getting larger. Especially if the XY window was maximized. I'm not sure have many resources would be involved to assess all that though... :roll: Still, for the majority of the time, this would maximize the amount of file name shown, while still leaving the other columns in view -- at least for my own purposes it would.
TheQwerty wrote:What happens when C > A?
I dunno... I guess the same rule would apply as does now when the width exceeds that above-mentioned tweak number...
ste(phen|ve) kunkel

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Column autosize idea...

Post by TheQwerty »

highend wrote:the name column would be incredible large even if your (file / folder-) names aren't and it's getting harder to see which properties belong to what.
I do use zebra striping but this is also my worry with the idea - though I really like the fact that it makes better use of the space available.
Another concern is how it affects double-click on empty space goes up and similar functions, since there wouldn't be much space left empty.

It makes me wonder:
1) The too long issue might be alleviated by having the option to right-align the name column (with icon on the right).

2) Many property columns have a relatively small variance in value width, while the Name column varies wildly, so why do the majority of users, myself include, keep the Name column to the left of the others? Just because we are used to reading left-to-right top-down?

If we moved the Name column to the right the width adjustments should be less annoying and it helps with the too long value issue above; or is it just too weird to accept? ;)


Anyhow, I'm going to try moving my Name column right and seeing how long I last. :|

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Column autosize idea...

Post by highend »

Just because we are used to reading left-to-right top-down?
or is it just too weird to accept?
moving my Name column right and seeing how long I last
1. +
2. +
3. That'll be interesting :)

The name is a necessity to identify a file / folder. All other properties don't share this importance. Useful, sometimes necessary but you could live without them (for the moment). So showing all less important properties first (while reading from left to right) is not the way to go xD

I think that user defined rules (which are bound to folder view settings) are the right way to handle this dilemma.
Let the user decide how he wants to handle column sizes.

Sizes in % of visible area (depending on single or dual list view), in pixels together with priorities when what has to shrink / expand...

As Don would say: A can of worms^^
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Column autosize idea...

Post by TheQwerty »

highend wrote:3. That'll be interesting :)
So far, very weird.
2016-05-19 073414.png
2016-05-19 073414.png (22.47 KiB) Viewed 3768 times

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Column autosize idea...

Post by TheQwerty »

highend wrote:I think that user defined rules (which are bound to folder view settings) are the right way to handle this dilemma.
Let the user decide how he wants to handle column sizes.

Sizes in % of visible area (depending on single or dual list view), in pixels together with priorities when what has to shrink / expand...
Thinking about this...

If Don added the ability to trigger scripts when entering a FVS (as previously suggested), then we could script the re-sizing of columns.

We might not be able to achieve content-aware sizing, but we could certainly experiment with setcolumns and controlposition to add some user-defined rules.

:whistle:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Column autosize idea...

Post by highend »

Cool idea! This would transfer the hard work (designing logic) to... em, us? oO *da..*

No really, great idea! Don?
One of my scripts helped you out? Please donate via Paypal

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

Re: Column autosize idea...

Post by admin »

Well, might be slightly over the top...

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Column autosize idea...

Post by highend »

But a great enhancement (because you can do a lot more than "just" adjusting column sizes) when entering a folder...
One of my scripts helped you out? Please donate via Paypal

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

Re: Column autosize idea...

Post by admin »

And a great can of worms...

tiago
Posts: 589
Joined: 14 Feb 2011 21:41

Re: Column autosize idea...

Post by tiago »

admin wrote:And a great can of worms...
+1 for a wide open outdoor fishing
Power-hungry user!!!

Post Reply