Page 1 of 1

Make the size column values really be right-adjusted

Posted: 2007-09-29, 13:32 UTC
by lrn
The Size column shows either "<DIR>" (left-adjusted) or the size of the file (seemingly right-adjusted). However, if you increase the width of the column, the file sizes turns out to not actually be right-adjusted. All you do is add more empty space on the right of the column.

If you have a large file size, on the order of hundreds of megabyte or even gigabyte, displayed as bytes, then the only way to avoid the numbers overlapping the column to the left (typically the extension) is to increase the width of that column.

It would be nice if the numbers in the size column followed the right side of the column.

Regards
/L

Posted: 2007-09-29, 14:10 UTC
by petermad
Support+

As a workaround you can make a Custom Columns View with the same 5 columns af Full View (it even gives the benefit of being able to sort by Attr).

Posted: 2007-09-29, 19:25 UTC
by sqa_wizard
Not supported.

Having the size column real right-adjusted means you won't have any space between the left adjusted date column => the numbers will melt to a single value.

Just don't show the extension in a separate EXT column, but direct after the filename.
This way you see the advantage of the current design : the spare space of shorter filenames is used by the lager file sizes !

Posted: 2007-09-29, 21:21 UTC
by petermad
the numbers will melt to a single value
Yes, the date column should also be right adjusted, to compensate for that.

It should behave like this:

Code: Select all

[CustomFields]
Widths1=93,22,-44,-62,80
Headers1=Størrelse\nDato\nAttr
Contents1=[=tc.size]\n[=tc.writedate.D-M-y h:m:s]\n[=tc.attributestr]
Options1=880|0
Titles=&Standard + seconds