<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - TABLE PROPERTIES: Adding borders to a table cell changes that cell's row height, if "Fit to Size" is enabled for row height"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136529#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - TABLE PROPERTIES: Adding borders to a table cell changes that cell's row height, if "Fit to Size" is enabled for row height"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136529">bug 136529</a>
from <span class="vcard"><a class="email" href="mailto:joaoluiz@gmail.com" title="Joao Carvalho <joaoluiz@gmail.com>"> <span class="fn">Joao Carvalho</span></a>
</span></b>
<pre>(In reply to Dieter from <a href="show_bug.cgi?id=136529#c4">comment #4</a>)
<span class="quote">> 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.</span >
Bingo. This solved it for me.
<span class="quote">> So question is: Should padding change automatically?</span >
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!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>