jsPDF-AutoTable icon indicating copy to clipboard operation
jsPDF-AutoTable copied to clipboard

The cell botton padding incorrect for longer content text?

Open ntruongvux opened this issue 1 year ago • 4 comments

I have a longer the text and use the default styles, it auto wrap the text but the bottom padding incorrect for the cell content.

Where can I find the same issue?

image

ntruongvux avatar Aug 02 '22 08:08 ntruongvux

Because I change lineHeight to 1.5, but I don't know what next do to the cell content can be fit the cell

ntruongvux avatar Aug 02 '22 08:08 ntruongvux

You would have to set the cell height manually. Setting line height does not automatically change cell height for now.

simonbengtsson avatar Aug 02 '22 08:08 simonbengtsson

if I don't set lineHeight for jsPDF, can I custom line height between multiple lines in the same content body?

image

ntruongvux avatar Aug 02 '22 09:08 ntruongvux

yeah, I created multiple body[][] contents inside the body and set cellPadding for it

ntruongvux avatar Aug 02 '22 10:08 ntruongvux

This issue will soon be closed since issues in this project are mainly meant to be bugs or feature requests. Questions are directed to stackoverflow.

github-actions[bot] avatar Aug 10 '22 02:08 github-actions[bot]

Released in v3.7.0

mmghv avatar Oct 10 '23 17:10 mmghv