Skip to content

Commit 5365f81

Browse files
ngonzalezpazFCjavier-godoy
authored andcommitted
fix(demo): fix splitlayout min height/width
1 parent cf9bc51 commit 5365f81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/flowingcode/vaadin/addons/chipfield/ChipfieldDemoView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public ChipfieldDemoView() {
3333
layout.setSizeFull();
3434
IFrame iframe = new IFrame();
3535
iframe.getElement().setAttribute("frameborder", "0");
36+
iframe.setMinHeight("0");
37+
iframe.setMinWidth("0");
3638
iframe.getElement().setAttribute("srcdoc", getSrcdoc(DATAPROVIDER_SOURCE));
3739
iframe.setSizeFull();
3840
layout.addToSecondary(iframe);
@@ -54,7 +56,6 @@ public ChipfieldDemoView() {
5456
} else {
5557
layout.setOrientation(Orientation.VERTICAL);
5658
}
57-
layout.setSplitterPosition(50);
5859
layout.getPrimaryComponent().getElement().setAttribute("style", "width: 100%; height: 100%");
5960
iframe.setSizeFull();
6061
});

0 commit comments

Comments
 (0)