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?
Qt Code:
<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>To copy to clipboard, switch view to plain text mode
TableError.png
Bookmarks