# \[BUG\] Tag Browse Tree component doesn't respect font setting

**URL:** <https://forum.inductiveautomation.com/t/bug-tag-browse-tree-component-doesnt-respect-font-setting/52269>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [October 23, 2021, 7:00am UTC](https://forum.inductiveautomation.com/t/bug-tag-browse-tree-component-doesnt-respect-font-setting/52269 "2021-10-23T07:00:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [October 23, 2021, 7:00am UTC](https://forum.inductiveautomation.com/t/bug-tag-browse-tree-component-doesnt-respect-font-setting/52269/1 "2021-10-23T07:00:21Z")

</div>

I just found out, that the Tag Browse Tree component in Vision, v8.1.11 doesn’t respect font settings:

 ![TagBrowserTree_font](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/f/2fb1c6243a8c720baa811e529119b46272d89288.png)  
It doesn’t matter what you set the font to, it will not change.  
It always stays, I think, on Dialog, Plan, 12.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [October 25, 2021, 1:40am UTC](https://forum.inductiveautomation.com/t/bug-tag-browse-tree-component-doesnt-respect-font-setting/52269/2 "2021-10-25T01:40:39Z")

</div>

Yeah you’re right. The thing is not working. The best I could get is changing font size ONLY in _Historical Tag Tree_.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/6/56521031806f9ad6992f3b1c3b7b89dda056fa45.png)

BUT I don’t why the thing is not changing for RealTime tags mode.

From a button I did

```auto
component = event.source.parent.getComponent('Tag Browse Tree')
JTree = component.getTree()
font = component.font.deriveFont(20.0)
JTree.setFont(font) #Change size in history mode
component.setFont(font) #attempt to change font
tagBrowseTree = component.getComponent(0).getView()
cellRenderer = tagBrowseTree.getCellRenderer()
cellRenderer.setFont(font)
tagBrowseTree.setCellRenderer(cellRenderer) #This should set new font size, but is not working

```

The property Font in the component is useless. That is something that never worked.

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [October 25, 2021, 4:21am UTC](https://forum.inductiveautomation.com/t/bug-tag-browse-tree-component-doesnt-respect-font-setting/52269/3 "2021-10-25T04:21:39Z")

</div>

Yes, and when you use this on 4K monitor… 🥴

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [October 27, 2021, 5:32am UTC](https://forum.inductiveautomation.com/t/bug-tag-browse-tree-component-doesnt-respect-font-setting/52269/4 "2021-10-27T05:32:14Z")

</div>

Ops, so bad.  
You may wanna try to add a Java parameter that scales de client. Maybe the visual results will be better.
