i am doing some experiments with Vaadin7-Beta11 for a prototype. Everything is working fine except scrolling.
I create a panel with an image-content. The image-content is larger than the panel, so I expect to see scrollbars. Unfortunately no scrollbars are shown.
Any help is highly appreciated, thnks in advance
code-snippet:
// Serve the image from the theme
Resource rsrc = new ThemeResource(“some-image.jpg”);
// Display the image without caption
Embedded image = new Embedded(null, rsrc);
image.setSizeUndefined(); // Actually the default
// The panel will give it scrollbars. The root layout
// (VerticalLayout) must have undefined width to make the
// horizontal scroll bar appear.
Panel panel = new Panel(“Embedding”);
panel.setWidth(“400px”);
panel.setHeight(“300px”);
panel.setComponent(image);