How to Change Line Color in Tree View Object (Vision)

Hi!
In the Tree View object in Vision, how can I change the color of the lines that connect folders? Is there a specific setting or method to customize their appearance?

These can be changed through the look and feel using these properties:

'Synthetica.tree.line.color.horizontal'
'Synthetica.tree.line.color.vertical'

Example:

from javax.swing import UIManager
UIManager.put('Synthetica.tree.line.color.horizontal', system.gui.color('green'))
UIManager.put('Synthetica.tree.line.color.vertical', system.gui.color('green'))

Result:

2 Likes

Thank you! The solution worked perfectly.

1 Like