Seems to not work … I have a white screen …
It works well under IE and Firefox …
Why ?
Seems to not work … I have a white screen …
It works well under IE and Firefox …
Why ?
http://demo.vaadin.com/sampler#SplitPanelBasic
works for me with Chrome 6.0.472.63 on OSX. Can you provide a minimal test case demonstrating the problem?
the code below works well under IE and firefox but not in Google Chrome …
public class Test extends Application {
// Main Window Title
final Window main = new Window(“Collections Archéologiques”);
public static final String brownFox = "The quick brown fox jumps ....";
public Test() {
final SplitPanel split = new SplitPanel();
split.setFirstComponent(new Label(brownFox));
split.setSecondComponent(new Label(brownFox));
split.setSplitPosition(50);
main.addComponent(split);
}
public void init() {
setTheme("cgvo");
setMainWindow(main);
}
}
The code shows nothing in any browser to me.
a) Because it uses a custom theme which I do not have
b) Because it has an invalid layout, as “analyze layouts” in the debug window reports.
On the other hand it works in all browsers (including Chrome) when using main.setContent(split) instead of main.addComponent or adding main.getContent().setSizeFull()