Question
Add Color to the label in a textField
Hello,
I would like to add color (red) to the label of a textField() in my interface. I know I can use a!richTextDisplayField() and then use the a!richTextItem() to change the colors of the value.
Below code displays Red color value; But I need the label to be in Red color:
a!richTextDisplayField(
label: "Red Text",
labelPosition: "ADJACENT",
value: a!richTextItem(
text: "Red Value",
style: "PLAIN",
size: "STANDARD",
color: "NEGATIVE"
)
)
How can I change the color of the Label here? Thanks in advance for any help in acheiving this.
