Resize problem with grid

Hello,

I am trying to use the new Grid but have problem getting it to expand to fit the HorizontalSplitterLayout. Maybe I am wrong in my code but I have tried various settings without success.

Any help appreciated,
Anders

  [font=courier new]

final BeanItemContainer ds =
new BeanItemContainer(ProjectArtifact.class, projectArtifacts);

    layout = new VerticalLayout();
    layout.setSizeFull();

    Grid grid = new Grid(ds);
    grid.setSizeFull();
    grid.setColumnOrder("name", "author", "version");

    projectImage = new Image();

    // Have a vertical split panel as its contents
    VerticalSplitPanel vsplit = new VerticalSplitPanel();
    vsplit.setHeight("100%");

    // The panel shows the details of the selected project
    VerticalLayout detailsContent = new VerticalLayout();
    detailsContent.setSizeFull();

    HorizontalLayout detailsHeader = new HorizontalLayout();
    detailsHeader.setMargin(true);

    detailsContent.addComponent(detailsHeader);

    importLink = new Link();
    importLink.setIcon(FontAwesome.DOWNLOAD);
    importLink.addStyleName("importlink");

    detailsHeader.addComponent(importLink);

    // Have a horizontal split panel as its content
    HorizontalSplitPanel hsplit = new HorizontalSplitPanel();
    hsplit.setSizeFull();
    // Put the grid in the left panel
    hsplit.setFirstComponent(grid);
    // Put the image in the right panel
    hsplit.setSecondComponent(projectImage);

    vsplit.setFirstComponent(hsplit);
    vsplit.setSecondComponent(detailsContent);

    layout.addComponent(vsplit);
    layout.setExpandRatio(vsplit, 1);

    setContent(layout);

[/font]
18447.png

This was solved in 7.4.1