[Gambas-user] HTML font backcolor

Benoît Minisini gambas at ...1...
Wed Jun 29 13:46:21 CEST 2016


Le 29/06/2016 12:51, Antonio Teixeira a écrit :
> Hello everyone,
>
> Is there a way so I can change the backcolor of text in a textlabel?
> In a sentence I need to change the backcolor of some words. Is that
> possible?
> Thanks in advance.
>
> ​Best regards​
>
> António Teixeira


I'm afraid it's not possible for standard code.

But as QT rich text understands more HTML than GTK+, you can try 
something like

	<span style="background-color:#FFFF00;">my text</span>

Regards,

-- 
Benoît Minisini




More information about the User mailing list