Multicolored text #673
Unanswered
TheLastochka
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Sadly it isn't possible for input text, but you can use ChildWidget with plain text that you can color with Style |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think you are trying to create some kind of syntax highlighter. There are two approaches to do that:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to create a widget to display the log text. To do this, I chose the InputTextMultiline widget with the ReadOnly flag. But I'm facing the problem that I can't color the text in different colors. I want to color the error text red, the information text green, etc. I found a way to color the entire text in one color: using Style(). But how can I make it multicolored?
Beta Was this translation helpful? Give feedback.
All reactions