Rich UI textLabel

A Rich UI textLabel widget displays a string that the user cannot change. The widget is different from a span because when you include an HTML segment, such as <b>this code</b>, it is displayed as is, including the angle brackets.
Here is an example:
import com.ibm.egl.rui.widgets.Div;
import com.ibm.egl.rui.widgets.TextLabel;
import egl.ui.color;

handler myOne type RUIHandler{initialUI =[myDiv]}
   myDiv Div{children = [myLabel01, myLabel02, myLabel03]};
   myLabel01 TextLabel{text = "mix blue ", color = "blue"};
   myLabel02 TextLabel{text = " and yellow ", backgroundColor = "black", color = "yellow"};
   myLabel03 TextLabel{text = " to see green", color = "green"};
end

The textLabel widget supports the text property, which takes the string to display

For information about other supported properties and functions, see "Widget properties and functions."

If you use this widget, you must use the following statement:
import com.ibm.egl.rui.widgets.TextLabel;

Feedback