cleidigh / printing-tools-ng

PrintingTools NG Thunderbird Extension - Printing Utilities
Other
35 stars 17 forks source link

feature request: Make the spacing in the header section customizable #60

Open RRoenn opened 3 years ago

RRoenn commented 3 years ago

Just an idea. user can set intent spacing e.g. to 6. Too long captions have some spacing, e.g. 2 or 3 to the content and next line has the overall intent spacing again.

And the output will look like

1 2 3 4 5 6 7 8 9

Date      04/03/2021
From      Mailadresse
To        Mailadresse1 Mailadresse2 Mailadresse3
          Mailadresse4
BBC Blindkopie    Mailadresse1 Mailadresse2
          Mailadresse3 Mailadresse4
BC        Mailadresse1 ...
Subject   Subject of the mail ...

also see #49 and https://github.com/cleidigh/printing-tools-ng/issues/30#issuecomment-800931371

Originally posted by @KC-T in https://github.com/cleidigh/printing-tools-ng/issues/53#issuecomment-813157571

However, there is a side effect.

The spacing in the header section between the attributes and values has become wider as seen below:

Screen Shot 04-05-21 at 11 09 AM

as compared to the previous:

jjgibegdannbmnab

KC-T commented 3 years ago

Just an idea. user can set intent spacing e.g. to 6. To long captions have some spacing, e.g. 2 or 3 to the content and next line has the overall intent spacing again.

And the output will look like

1 2 3 4 5 6 7 8 9

Date      04/03/2021
From      Mailadresse
To        Mailadresse1 Mailadresse2 Mailadresse3
          Mailadresse4
BBC Blindkopie    Mailadresse1 Mailadresse2
          Mailadresse3 Mailadresse4
BC        Mailadresse1 ...
Subject   Subject of the mail ...

also see #49 and #30 (comment)

Originally posted by @KC-T in #53 (comment)

However, there is a side effect.

The spacing in the header section between the attributes and values has become wider as seen below:

Screen Shot 04-05-21 at 11 09 AM

as compared to the previous:

jjgibegdannbmnab

@RRoenn @cleidigh @KC-T

I would prefer aligning the beginnings of all the values. So longer as they all appear after the longest attributes and are aligned, it is fine.

K C

KC-T commented 3 years ago

@RRoenn @cleidigh @KC-T

Correction: "So long as ..."

K C

KC-T commented 3 years ago

@RRoenn @cleidigh @KC-T

I understand that the wider space is to accommodate Japanese, and now understand what @RRoenn was talking about. Either of the following is fine.

My preferred one:

From: xxxx To: xxxx, xxxx, xxxx, ..... xxxx Longest attribute: xxxx, xxxx, xxxx, .... xxxx

Suggested by @RRoenn:

From: xxxx To: xxxx, xxxx, xxxx, ..... xxxx Longest attribute: xxxx, xxxx, xxxx, .... xxxx

K C

KC-T commented 3 years ago

@RRoenn @cleidigh @KC-T

The format has been lost after posting. Please see the following image:

Screen Shot 04-06-21 at 08 09 PM

K C