|
|
@@ -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); |