Make the size column values really be right-adjusted

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lrn
New Member
New Member
Posts: 1
Joined: 2007-09-29, 13:21 UTC

Make the size column values really be right-adjusted

Post 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
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post 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).
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post 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 !
#5767 Personal license
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post 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
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply