Skip to main content
Jul 25, 2017 6:05 PM UTC
Solved

How to change font size and color of a 2D label?

How can you change the font size and color of a 2D label? I am using my 2D label to update instructions, but it's extremely hard to read the small font. I don't see how to do it from the UI editor, are there javascript options? Currently use javascript to update the text content on each step of a sequence.

Jul 25, 2017 7:25 PM UTC

You can make a custom css class (in the application editor) and enter the name of the class in the class field of the label:

.YourClassNameHere {

     font-size: 15px;

     color: #515859;

}

1 reply

Jul 25, 2017 7:25 PM UTC

You can make a custom css class (in the application editor) and enter the name of the class in the class field of the label:

.YourClassNameHere {

     font-size: 15px;

     color: #515859;

}