View Single Post
Old 02-21-2021, 12:54 PM   #68
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
Thanks. I will look into adding alignment to the table columns you mentioned but no numeric decimal alignment is available in Qt so it would have to be simulated by string conversion to fixed number of digits and right alignment.

That said, the alignment of the "tooltip" in the shown image is not easily changed or important as it is only a tooltip, not a real table.

Take care,

Kevin



Quote:
Originally Posted by Tex2002ans View Post
I compressed the PNGs from:

14.4MB->11.2MB

by running them through TruePNG. (The older compression tool made by the guy who created ScriptPNG + ScriptJPG, now known as pingo.)

It works by:
  • losslessly compressing the image
  • throwing away the Alpha if not needed
  • removing the metadata.

QoL Side Note: And while I was skimming through the images, I noticed:

Attachment 185498

When presenting data in columns, it's best to follow these key rules:
  • Text = left-aligned
  • Numbers = right-aligned
    • Aligning on decimal if needed.
  • + Match headings with the data's alignment.

This allows your eyes to easily read/compare rows.

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
KevinH is offline   Reply With Quote