How to change the font size of a model in Spectrum OneClick
search cancel

How to change the font size of a model in Spectrum OneClick

book

Article ID: 56544

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

How to change the font size of a model in Spectrum OneClick

Environment

Release: Any
Component:

Resolution

The following are the instructions to change the font size of the Icon Label in the SPECTRUM OneClick Topology. In the following example, the font is changed from the default SansSerif-PLAIN-11 to SansSerif-PLAIN-15

 

 1. Copy the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config/default-iconlabel-config.xml file to the $SPECROOT/custom/topo/config directory

 2. Edit the $SPECROOT/custom/topo/config/default-iconlabel-config.xml file. Look for the following:

 

 <!-- The font properties for the field entries -->

 <field-value>

 <static-color idref="default-iconlabel-textfield-color-config"/>

 <font>SansSerif-PLAIN-11</font>

 </field-value>

 

 3. Change the above to read as follows:

 

 <!-- The font properties for the field entries -->

 <field-value>

 <static-color idref="default-iconlabel-textfield-color-config"/>

<font>SansSerif-PLAIN-15</font>

 </field-value>

 

 4. Save the default-iconlabel-config.xml file

 5. Logout of OneClick and then log back into OneClick for the change to take affect