Browse Source

Fix GridDetailsLayoutExpandTest (#8556)

tags/8.1.0.alpha1
Henri Sara 7 years ago
parent
commit
10be6badbe

+ 2
- 0
uitest/src/main/java/com/vaadin/tests/components/grid/GridDetailsLayoutExpand.java View File

@@ -64,6 +64,7 @@ public class GridDetailsLayoutExpand extends AbstractTestUI {

grid.setDetailsGenerator(item -> {
final HorizontalLayout detailsLayout = new HorizontalLayout();
detailsLayout.setSpacing(false);
detailsLayout.setSizeFull();
detailsLayout.setHeightUndefined();

@@ -75,6 +76,7 @@ public class GridDetailsLayoutExpand extends AbstractTestUI {
// layout2 second element of the detailsLayout, taking the rest
// of the available space
final HorizontalLayout layout2 = new HorizontalLayout();
layout2.setSpacing(false);
layout2.setSizeFull();
layout2.setHeightUndefined();
detailsLayout.addComponent(layout2);

Loading…
Cancel
Save