have two color of one word
-
I am looking for a way to change the first letter color of a single word, in other work I want to have one word with two different color.
What should I do in Text QML? -
I think you can use this:
Label { text: "<font color=\"blue\">H</font>ello" }
-
thanks for replying, but I have several columns and each of columns filled with several text, I created a TextField to prepare a search tool for user, when user type a letter in TextField I want the color of these letters that match is change.
-
I think you should use TextArea instead and listen to keyboard events and add formatted text (like in label) as you need
-
@Rem-Kolomna I did it, Thanks for your help