Python Qt: embedded html bug? -


Here's a strange thing happening ... I have a QT Python for displaying a form inside the GUI Embedded HTML is used / widgets The problem is that if there is more material in the cell, then it shows a black shadow like a box on the right side of that cell / table.

Here's an example of code working fine:

  html = ("<"> 

"" & lt; tr & gt; "" & lt; td width = 837 bgcolor = '#fffff' & gt; & lt; font size = '4' color = 'black' & gt; div align = center & gt; & lt; p & gt; stackoverflow forum & lt; BR & gt; & gt; your favorite web site & lt; / div & gt; Lt; / font & gt; & lt; / TD & gt; "" & lt; / tr & gt; "" & lt; / table & gt; "" & lt; / td & gt; "" & lt; / TR & gt; "" & lt; / table & gt; ")

Expected in the form, the first example demonstrates:

  + ----- ------------------------ ----------------------- + | STACKOVERFLOW platform | | Your Favorite Web Site | + ------------------------------------------------- --- +  

Then there is a single code, but with a little more content on that cell:

  html = = (" Lt; table border = '0' cellspacing = '0' cellpadding = '0' '> & lt; tr & gt; td bgcolor =' # 000000 '& gt; "" & lt; Table border = '0' cellspacing = '1' cellpadding = '4'> "" & lt; tr> "" & lt; td width = 837 bgcolor = '# fffff' & gt; & lt; font Size = '4' color = 'black' & gt; & quot; div align = center> STACKOVERFLOW platform STACKOVERFLOW platform STACKOVERFLOW platform STACKOVERFLOW platform STACKOVERFLOW platform & lt; BR & gt; your latest web site & lt; / DIV & gt;   "" & lt; / tr & g How to make a black shadow / box on the right side of the table, like this;    " / P> 
  + -------------------- -------------------- ------------ + ||||| STACKOVERFLOW platform STACKOVERFLOW platform ... ||||| | your favorite web site ||||| + ------------------------------------------------- --- + ||||  

So, quite strange, this is exactly the same code, only the second text is more in it.

Any suggestions?

All comments are highly appreciated.

& lt; / B & gt; are not closing the tag if it is and does not attempt to align = 'center' to and td>


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -