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

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to