Sampler Main Screen Code...

I’m trying to build a UI that replicates the look and feel of the Vaadin Sampler main screen. That is a layout with a tree on the left and changeable content on the right (the content changes based on clicks in the tree).

I’d love to have the two panels in the window user-resizable like the Sampler. I’ve tried a HorizontalSplitPanel, a HorizontalPanel, but I can’t see to get the tree to be scrollable once it expands past the size of the browser window (which it does from the get go).

I’m sure I’m missing something incredibly simple.

Any help is appreciated as this has been kicking me in the butt for too long now.

Thank you in advance,
Chuck

Try making the Tree undefined height and then wrap it in a Panel. The Panel will make it scrollable.