<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi David,<br>
      <div class="moz-cite-prefix"> <br>
      </div>
      My test shows that this works correctly with QT4 & QT5 but not
      with GTK2 or GTK3.<br>
      <br>
      <a href="http://www.cogier.com/gambas/GUITest_093.jpg"> Click to
        view example using QT5</a><br>
      <br>
      Charlie<br>
      <br>
      On 25/11/2018 10:03, David Sanromá wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:08ad8cb7-f224-e0b8-17b3-55b9b4498548@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </blockquote>
    <br>
    <blockquote type="cite"
      cite="mid:08ad8cb7-f224-e0b8-17b3-55b9b4498548@gmail.com">
      <p>Hello everyone,</p>
      <p><br>
      </p>
      <p>I have noticed a strange behavior when I tried to use the
        GridView's RichText property. When I place two <font> tags
        with color definition next to each other, an extra space shows
        up from nowhere. Let me show you my test:<br>
      </p>
      <p><br>
      </p>
      <p><font size="+1"><tt>        GridView1[0, 0].RichText =
            "<font>Hello</font><font>World</font>"<br>
          </tt></font></p>
      <p><font size="+1"><tt>            HelloWorld   ---- Perfect!</tt></font></p>
      <p><font size="+1"><tt>        GridView1[1, 0].RichText =
            "<font
color='white'>Hello</font><font>World</font>"</tt></font></p>
      <p><font size="+1"><tt>            HelloWord    --- Hello in white
            color: Perfect!</tt></font></p>
      <p><font size="+1"><tt>        GridView1[2, 0].RichText =
            "<font color='white'>Hello</font><font
            color='yellow'>World</font>"</tt></font></p>
      <p><font size="+1"><tt>            Hello World   --- Colors great,
            but extra space between the 2 words. Not perfect  :(<br>
          </tt></font></p>
      <p><br>
      </p>
      <p>I was wondering where that extra space comes from. Is it a
        Gambas thing or a QT thing? Is there a way for that space not to
        show up ?</p>
      <p><br>
      </p>
      <p>TIA,</p>
      <p>David</p>
      <p><br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">
----[ Gambas mailing-list is hosted by <a class="moz-txt-link-freetext" href="https://www.hostsharing.net">https://www.hostsharing.net</a> ]----
</pre>
    </blockquote>
    <br>
  </body>
</html>