[Libreoffice-bugs] [Bug 136529] TABLE PROPERTIES: Adding borders to a table cell changes that cell's row height, if "Fit to Size" is enabled for row height

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 10 15:09:56 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136529

--- Comment #8 from Joao Carvalho <joaoluiz at gmail.com> ---
(In reply to Dieter from comment #4)
> Row height changes, because padding of table cell changes from 0,00cm to
> 0,05cm, if you add a border. If you add a border and changes padding to
> 0,00cm row height remains.

Bingo. This solved it for me.

> So question is: Should padding change automatically?

Maybe padding should be added only where there is a border.

For example, if you add one horizontal line to the top edge of a table, the
horizontal and vertical padding is increased across the entire table. If it is
a table with many rows and columns, this makes the table much taller and wider.

This doesn't happen in MS Word 2010: if you add one very thick horizontal
border to a row, you notice a shift, but the table does not get significantly
taller nor wider.

In LibreOffice Writer, I first noticed this behavior when trying to add a
vertical line to a academic-style table. This table style has horizontal lines
on the top and on the bottom edges of the table, but no vertical lines. When I
added one single vertical line to that table, horizontal and vertical padding
was increased across the entire table, and the table got much taller than I
wanted it to be!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200910/2758df5a/attachment.htm>


More information about the Libreoffice-bugs mailing list