Resizing value field fonts automatically in Template Editor

Tekla Structures
Modifierad: 19 jan 2026
2026
Tekla Structures

Resizing value field fonts automatically in Template Editor

Modify attribute settings for value fields so that font sizes will be resized automatically if the value field content is longer than the length of the value field. By automatically resizing fonts, value fields can contain more content.

Do the following:

  1. Select the value field you want to modify and double-click to open the Value Field Properties dialog box.
  2. Click the Free attributes button to open the Free attributes dialog box.
  3. In the Application tab, click the Name list and select from the following options:
    • Min. font size - The font will not be resized under any value you have specified. Be aware that all the content might not fit in the value field in this case.

    • Font size change - The font is resized by the value you have defined (i.e. 0,2), reducing it by that amount until it fits in the value field or the minimum font size is reached.

    • List of font sizes - The font is resized based on the list of values given until the right size font is found or the minimum font size is reached. You can decide what values to use. The separator in the list a semi-colon.

  4. Click Add.

    If you define both Font size change and List of font sizes, List of font sizes will override the former.

  5. Click OK to close the Free Attributes dialog box.
  6. Click OK to close the Value Field Properties dialog box.

When the template is output the font will be resized to settings you specified.

See also

Free attributes in Template Editor

Var det här användbart?
Skicka
Föregående
Nästa