# How to change the font size of a text in a report with code

**URL:** <https://forum.inductiveautomation.com/t/how-to-change-the-font-size-of-a-text-in-a-report-with-code/9601>\
**Category:** Ignition\
**Created:** [January 26, 2015, 12:21pm UTC](https://forum.inductiveautomation.com/t/how-to-change-the-font-size-of-a-text-in-a-report-with-code/9601 "2015-01-26T12:21:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jco294](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@Jco294](https://forum.inductiveautomation.com/u/Jco294)\
**Post date:** [January 26, 2015, 12:21pm UTC](https://forum.inductiveautomation.com/t/how-to-change-the-font-size-of-a-text-in-a-report-with-code/9601/1 "2015-01-26T12:21:54Z")

</div>

Hi, I have a report with a text connected to a textbox that would adjust the font size depending on how long the user write in the textbox. What would be the line of code to change that font size?
