F.e. I have <text val="This hero is super. He is so awesome"> and this text has a text style that makes it blue, but I want to make the word "hero" white. How it possible?
F.e. I have <text val="This hero is super. He is so awesome"> and this text has a text style that makes it blue, but I want to make the word "hero" white. How it possible https://tutuappx.com/?
F.e. I have <text val="This hero is super. He is so awesome"> and this text has a text style that makes it blue, but I want to make the word "hero" white. How it possible?
I got this,..
Hello,
Unfortunately, styles supplant other markers like color, because a style may have a color marker inside of itself.
And in the UI Editor, you can't write those markers for your text.
HOWEVER :
- You can combine with the Text Editor !
- Define a new text which will deliver you a custom identifier (Begins with "DOCSTR_").
- Make the reference to your text Id in the UI Editor for your text value, with "@". Ex : <Text val="@DOCSTR_LABEL_TEST"/>
In the Text Editor, you can customize your text as you want.
That's all.
Have a nice day !
EDIT :
For more information :
> Introduction to UI Editor - https://sc2mapster.github.io/ui/2018/02/07/basic-introduction-to-layouts.html
> SC2Mapster Wiki, UI Editor documentation - https://sc2mapster.fandom.com/wiki/UI_Editor