Solved
How to set coloured text from Data Utility?
Is there any method available to set the coloured text from Data Utility?
Is there any method available to set the coloured text from Data Utility?
Hi
yes you can.
The method is to define your own CSS style then add a style to the AbstractGuiComponent
for example add own CSS style with your color to a xtheme-windchill.css
name MYCOLOR
.MYCOLOR {
color: red;
font-weight: bold;
}
and you set a style by .addStyleClass method in the DataUtility.
guiComponent.addStyleClass("MYCOLOR");
PetrH
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.