make Layout to take whole page

I can’t make the main layout takes the whole without losing top layouts, if I set the mainlayout setSizeFull, l1 disappear and the 1st component of l2 (a combobox) too, just the Grid is shown, if I remove the setSizeFull, everything is displayed where it should but the main layout doesn’t take the whole page

public class MainChoferView extends VerticalLayout implements View {

    private MenuBar menuBar;
    private TrasladosPanel trasladosPanel;

    public MainChoferView() {
        buildMenu();
        buildTraslados();
        final HorizontalLayout l1 = new HorizontalLayout();
        l1.addComponent(menuBar);
        l1.setComponentAlignment(menuBar, Alignment.MIDDLE_CENTER);
        l1.setSizeFull();
        HorizontalLayout l2 = new HorizontalLayout();
        l2.addComponent(trasladosPanel);
        l2.setSizeFull();
        addComponents(l1, l2);
        setExpandRatio(l2, 1);
//        setSizeFull(); /// HERE IS THE PROBLEM!!!
        setSpacing(true);
    }
public class TrasladosPanel extends VerticalLayout {

    private Grid grid;
    private ComboBox comboEstados;

    public TrasladosPanel() {
        initComponents();
        addComponents(comboEstados, grid);
        setSizeFull();
        setExpandRatio(grid, 1);
        
    }

    private void initComponents() {
        comboEstados = new ComboBox();
        comboEstados.setSizeFull();
        comboEstados.setNullSelectionItemId("<Todos>");
        VaadinUtils.loadComboBox(comboEstados, Arrays.asList(TrasladoEstado.values()), true);
        grid = new Grid();
        grid.setSizeFull();
        VaadinUtils.addProperties(grid,
                new String{"ID", "Hora", "Origen", "Destino"},
                new Integer{20, 60, null, null},
                new Class<?>{Integer.class, Date.class});
        addTestData();
    }

33912.png
33913.png

remove the layout that contained the menuBar solve the problem… and add it directly in the mainlayout

final HorizontalLayout l1 = new HorizontalLayout();
        l1.addComponent(menuBar);
        l1.setComponentAlignment(menuBar, Alignment.MIDDLE_CENTER);
        l1.setSizeFull();

Another mysterious vaadin behaviour solved