Change text color in the same label

Guys how could you change the color of a label in the following way.


I don’t think it is possible in a single label.

But you can implement a Horizontal Arrangement and put three labels inside Horizontal label to make it look like your example.

And use decorations component to set the margin between labels if there is useless gap

Good Idea :1st_place_medal: :1st_place_medal: :1st_place_medal: :1st_place_medal: :1st_place_medal: :1st_place_medal: @Atharva_Pawar


You can also use html to change different label text parts color :slightly_smiling_face:, for example:
<font color="red">red text</font><font color="blue">blue text</font>
See also here:

Make sure to turn html format on!


@Mohamed_Tamer Sorry
I forgot that we can use HTML in kodular label too.
That can be a far best idea.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.