Tooltip with bold and multicore letter needs to show 2 line text, but seems to have the maximum width and text cut in the tooltip Given I tried to calculate the breadth of text and the width of the customized form, but it does not make any effect, style = "width: some px" does not work for the tooltip. Here's the code:
Edit How can I change tooltip width "post-text" itemprop = "text"> Using QtCreator / Designer's Properties Part I have used: This should know how to better limit the size of the table. I have no doubt that there may be another way of expressing it. A solid example generated by QtCreator:
QString Tooltip = "div style = \" white-space: nowrap; Width: 1500px; \ "& Gt; Some text for tooltip, which is too long & lt; / div & gt;";
& lt; Html & gt; & Lt; Table width = "25" & gt; & Lt; TR & gt; & Lt; TD width = "25" & gt; Alveffejwaqf & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td width = "25" & gt; An EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Html & gt;
pushbutton-> SetToolTip (QApplication :: Translation ("Main Wando", "and lt; html> gt; \ n" "table width = \" 25 \ "& gt; & lt; tr & gt; & lt; td Width = \ "25 \" & gt; alwkefjwekf & lt; / td> & lt; / tr & gt; \ n "" & lt; tr & gt; & lt; td width = \ "25 \" & Gt; A EA AA AA AA AA AA AA AA AA AA EA EA EA EA EA EA EA AA AA / TD / TD & gt; & lt; / TR> N "" & lt; / table & gt; \ N "" & lt; / html & gt; ", 0));
No comments:
Post a Comment