[Gambas-user] bugs

Benoit Minisini gambas at ...1...
Wed Mar 5 16:20:46 CET 2008


On mercredi 5 mars 2008, Jaap Cramer wrote:
> I'm sorry. I dont like hotmail either, but don't like multiple mailboxes
> even less. So  I stick by one inbox and it happens to be hotmail... I used
> tags, and they fell away. So thats why my previous post didnt make sense..
> I'll try again, using other brackets for the tags []
>
> An HTML entry like [font size="+2"] is translated to qrichtext as [span
> style='font-size: 18pt'] Or something similar. When I try to use the
> [span]-tag I sometimes get a different result. When I use a text with [span
> style='font-size: 8pt'] it works fine; but when I use [span
> style='font-size: 18pt'] I dont get fontsize 18 but 8. And 20pt becomes
> 10pt. I tested it by using a TextEdit and a TextAera, because TextEdit is
> in Richtext and TextAera isn't. Is this a bug in the HTML coder?
>
> I hope it makes sense now
> Jaap
>

Maybe a bug... 

I suggest not using <span> at all, but only the following tags:
<b> <i> <s> <tt> <u> <font color=""> <font size=""> <p> <br> <h1>...<h6>

These controls are really for displaying rich text, but not HTML.

Regards,

-- 
Benoit Minisini




More information about the User mailing list