View Single Post
Old 05-30-2021, 10:52 PM   #1
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
[Enhancement] Column Alignment (Spellcheck List + Reports)

What/Why

When aligning data in columns, it's typically a good idea to:
  • Text = left-aligned
  • Numbers = right-aligned
    • Aligning on decimal if needed.
  • + Match headings with the data's alignment.

This allows you to more easily read/compare rows with your eyes.

A few months ago, I made a similar report in Sigil here:

https://www.mobileread.com/forums/sh...45#post4095545

Spoiler:
Quote:
Originally Posted by Tex2002ans View Post
So this:

Code:
(Left) (Left)    (Left)
Level  Included  Hidden
h1     9         0
h2     52        0
h3     0         182
h4     0         61
h5     0         0
h6     0         0
would change to this:

Code:
(Left)  (Right)  (Right)
Level  Included  Hidden
h1            9       0
h2           52       0
h3            0     182
h4            0      61
h5            0       0
h6            0       0
(All "ones"/"tens"/"hundreds" align.)

Similar alignments can probably be used in other number-columns throughout Sigil.

I'm thinking:
  • Spellcheck List's "Count" column
  • The numbers in Tools > Reports

would be easier to read with right-alignment too.

Code:
File Size
123.34
56.78
9.00
1.23
vs.

Code:
File Size
   123.34
    56.78
     9.00
     1.23


Calibre Dialogs With Alignment Issues

I believe these dialogs could use a touchup:

Tools > Check Spelling (Alt+F7)

Click image for larger version

Name:	Calibre.Alignment.-.Spellcheck.png
Views:	193
Size:	13.4 KB
ID:	187419

- Count -> Right
- Language -> Left

* * *

Tools > Reports

Files

Click image for larger version

Name:	Calibre.Alignment.-.Report.Files.png
Views:	193
Size:	31.2 KB
ID:	187422

- Size (KB) -> Right

Words

Click image for larger version

Name:	Calibre.Alignment.-.Report.Words.png
Views:	191
Size:	22.3 KB
ID:	187420

- Times used -> Right

Images

Click image for larger version

Name:	Calibre.Alignment.-.Report.Images.png
Views:	175
Size:	18.8 KB
ID:	187423

- Size (KB) -> Right
- Times used -> Right

Characters

Click image for larger version

Name:	Calibre.Alignment.-.Report.Characters.png
Views:	181
Size:	29.8 KB
ID:	187421

- Times used -> Right
Tex2002ans is offline   Reply With Quote