PDA

View Full Version : QTextDocument



Delphi
25th June 2013, 12:32
Hey there,

I am displaying a table by using a Qtextdocument.

The table looks affected by the length of the words as shown in the figure below.

Is there something wrong with my html?



<html>
<body>
<table border=1 cellpadding=0 cellspacing=0>
<tr>
<td colspan=2 class=hdrgraytop>
loooooooooooooooooooooooooong
</td>
</tr>
<tr>
<td width="10%">xxx</td>
<td width="90%">xxxxxxxxx</td>
</tr>
<tr>
<td class=hdrgray>yyy</td>
<td class=hdrgray>yyyyyyyyy</td>
</tr>
<tr>
<td class=hdrgraybotom>zzz</td>
<td class=hdrgraybotom>zzzzzzzzzzz</td>
</tr>

</table>
</body>
</html>


9183