This is a partial conversion of my JS-scripting formatted and aligned size column to avoid the per-item JS scripting overhead (at the cost of convenient user configuration and others issues, see below).
This addresses many of the space wasting and misalignment issues of the default size columns
Some of the benefits for compactness and alignment
- ⸱ tiny dot for 0 instead of wasting '0 bytes' for nothing
- ⸱
- 0 bytes
- Byte values are visually smaller since they are positioned to the right of the decimal point, so you don't need
bandkblabels120bytes4.12kb- ↑ also
12in KB is aligned to120in bytes
- Rounding doesn't break alignment, so 1 is vertically aligned
1MB1.01MB1MB (default size column)
(and 1.21 kb is not bigger than 123 kb)
- Different label width in proportional fonts doesn't break alignment, so 1 is vertically aligned (actual misalignment depends on your font)
- M 1
- G 1
- Rich text labels:
- bold/uppercased > G label to signal bigger size
- colorized > T for even more prominence
A few limitations:
- single-column version (value + label):
- must be ‹left-aligned (it sidesteps the issue of aligning variable-width labels by left-aligning only the numbers)
- two-column version (value, label):
- with column padding the total width is bigger vs the default size column
- alternative: could remove one extra space at the end of the value column to save a bit of extra width, but then would lose the more valuable alignment of
123b and2.12kb
- alternative: could remove one extra space at the end of the value column to save a bit of extra width, but then would lose the more valuable alignment of
- less efficient, 2 evaluator calls instead of 1
- with column padding the total width is bigger vs the default size column
To install
- copy file's content to clipboard
- open
Preferences / File Display Columns / Evaluator Columns - click
Pas̲te - add
Size.Full.εorSize.εandSize.Label.εcolumns to your folder format- tip: for two-column version try to position the label column to the left of the size column as then it might be a slightly more visible indicator of size
m 123.45 123.45
- tip: for two-column version try to position the label column to the left of the size column as then it might be a slightly more visible indicator of size
Single-column version:
Two-column version:
