Menu

#17 Table row with only   not rendered

open
nobody
None
5
2007-12-31
2007-12-31
Anonymous
No

Empty cells ( , whitespace, etc.) were getting an height of '0', so a row of all ' ' characters would not be rendered.

Fix:

Add the following line:
<code>
if ($linesneeded == 0) $linesneeded = 1;
</code>

After this (around line 2686 in _tableHeight function):
<code>
$linesneeded = $this->WordWrap($auxtext,$cw-2);// -2 == margin
</code>

Discussion


Log in to post a comment.