Sizing Embedded iframe

hi guys,
is it possible to set size of iframe in Embedded element to fill entire height of actual content of iframe.
I am trying to get it work with no luck.

I have the same problem. Code looks like this:



 public VerticalLayout getEmbeddedHtml(String path) {
        VerticalLayout layout = new VerticalLayout();
        Panel panel = new Panel("Temat");
        Embedded html = new Embedded("", new ThemeResource(path));  //path to html static pag
        html.setSizeFull(); 
        panel.addComponent(html);    
        layout.setMargin(true);
        layout.addComponent(panel);
        panel.setSizeFull();
        layout.setExpandRatio(panel, 1.0f); 
        layout.setSizeFull();
        return layout;
}

Page in panel is displayed with scroll using only half of the panel space. Does anyone know the solution ? If I remove Panel and set layout.setComponent(html) everythink works as expected.