Custom Columns alignment how indent

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
nn1k3
Member
Member
Posts: 141
Joined: 2007-02-06, 16:59 UTC

Custom Columns alignment how indent

Post by *nn1k3 »

When we press Ctrl+F2 we see the "full" built-in default columns.

The default "Size" column pads the numbers with blanks to align them even though the column is actually left-justified. So it looks like this:

Code: Select all

|Size.......|
|..4........|
|123........|
How could I mimic the default columns using custom columns? I only see how to get this

Code: Select all

|Size.......|
|4..........|
|123........|
or this
|Size.......|
|..........4|
|........123|
FYI my existing wincmd.ini looks like this:

Code: Select all

[CustomFields]
Titles=test
AutoLoad=0
Widths1=197,19,-32,66,80
Headers1=size\nwritedate\nattributestr
Contents1=[=tc.size]\n[=tc.writedate]\n[=tc.attributestr]
Options1=-1|0
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually the size field in the "full" view is right aligned, but uses the left separator for its position. You cannot get this behaviour in custom columns view, sorry.
Author of Total Commander
https://www.ghisler.com
tcebob
Member
Member
Posts: 178
Joined: 2003-03-23, 22:11 UTC
Location: Sunrise FL, USA

Post by *tcebob »

If you can live with a constant width, justify right and add some spaces to the title.
Post Reply