<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<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>
</body>
</html>