<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p><br>
</p>
<p>Thanks for the heads up... I never tried "forcing" one library
over the other. ;)<br>
</p>
<p><br>
</p>
<p>In the Project Properties | Environment I tried setting the
variable GB_GUI to gb.qt4 and things worked like Charlie
mentioned., like one would expect ;)</p>
<p>Thanks a bunch...</p>
<p><br>
</p>
<p>My next question would be, is there any advantages or
disadvantages to set the variable to gb.qt4 or gb.qt5 or any GTK
setting to work with Gambas ?</p>
<p><br>
</p>
<p>Do I miss anything by always setting the GB_GUI to gb.qt4 or
gb.qt5 ?</p>
<p><br>
</p>
<p>Which one is better for Gambas gb.qt4 or gb.qt5 ?<br>
</p>
<p><br>
</p>
<p>TIA,</p>
<p>David</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">El 25/11/18 a las 13:43, Charlie Ogier
escribió:<br>
</div>
<blockquote type="cite"
cite="mid:8f6e9883-2d7b-b06c-72aa-0ec26da1056e@cogier.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true"> 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" moz-do-not-send="true">https://www.hostsharing.net</a> ]----
</pre>
</blockquote>
<br>
<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>
</body>
</html>