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.

Tree inside a Panel - no scrollbar

Stéphane Nicoll
1 decade ago Apr 12, 2012 2:16pm


I am building a custom component that allows to display some data both hierarchically and flat. The component has an option group to select whether the content should be displayed as a tree or as a flat list (ListSelect)

This component is wrapped in a panel, I have added a listener on the option group to replace the component inside the panel.

When the data is viewed as a list I have a vertical scrollbar. When it is displayed as a tree, I don't.

The Analyze Layout shows no error.

What am I missing? I am on 6.7.6


Stéphane Nicoll
1 decade ago Apr 16, 2012 9:50am
Stéphane Nicoll
1 decade ago Apr 16, 2012 12:28pm
Martin Letendre
1 decade ago Apr 16, 2012 12:35pm