Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

An example of a customized tree

anand kris
1 decade ago Mar 10, 2010 5:15am

Hi I've got my custom tree item icons, captions and dynamic context menu working with the vaadin tree, which is all great. I wish I could customize the following:

1. Tree connectors (lines that get drawn between the parent to children)
2. Space between the tree children (so items dont look too clustered)
3. Width between the tree item icon and the tree item caption.

It is not clear which css parameters need to be changed for the tree to achieve what I want. It will be great if someone has done it before or gives me some guidlines...


Jouni Koivuviita
1 decade ago Mar 10, 2010 1:19pm
manoj ratnayake
1 decade ago May 07, 2012 3:01pm
Moritz Christian
5 years ago Jun 01, 2017 8:43am