Skip to Content
0
Former Member
Dec 07, 2016 at 03:29 PM

how to change the font color of Label

6065 Views Last edit Dec 07, 2016 at 03:31 PM 2 rev

I have label defined as:

<Label id="abelId" text="Some Text" design="Bold" required="true" />

I'm using sap.m.Label.

I would like to change the color of the text (i.e. green) but I don't see anything in the API that allows me to do this. I only see the design property which only changes the font type. Does anyone know how to do this?