setFontSize(value: Number);
value. Text size to be set.
The setFontSize method sets title text font size.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Set new size for title text:
// Get title var title = expressBox.getDataView().getTitleView(); // Set new size for title text title.setFontSize(10);
As a result new size is set for title text:
See also: