Tree inside Acordion

Hello:
I have tree inside Accordion ,and I need the tab accordion to occupy all the space panel AVAILABLE,

  http://demo.vaadin.com/RunoTheme

  specifically example sidebar

  I have written

     ....................
     TabSheet ts=new TabSheet();
      
      ............Panel panel=new Panel();
                  .......panel.setSizeFull()......
                                                              ...........ts.setSizeFull()
                        panel.addComponent(ts);


      but tab still does not occupy all the space panel???

There’s one default VerticalLayout inside every Panel and Window you create, which is undefined high, hence not giving the components inside it enough space.

To fix it, set the height to 100% (the default width of the VerticalLayout is 100%):

panel.getContent().setSizeFull();