# TextField fontSize not following container style

**URL:** <https://forum.inductiveautomation.com/t/textfield-fontsize-not-following-container-style/41981>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 5, 2021, 8:31pm UTC](https://forum.inductiveautomation.com/t/textfield-fontsize-not-following-container-style/41981 "2021-01-05T20:31:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 5, 2021, 8:31pm UTC](https://forum.inductiveautomation.com/t/textfield-fontsize-not-following-container-style/41981/1 "2021-01-05T20:31:20Z")

</div>

So when a textfield is dropped into a container that has a fontSize defined the textfield font size isn’t changing. I have to specifically go into the TextField style and statically set the fontSize there.

Example:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/c/dceae4a96ff6cdfba1a4898c5e75bcb2ac2fe9c6.png)  
With the root style fonetSize set to x-small the textfield isn’t following it.
