Browse Source

Use setHideEmptyRowsAndColumns to match old screenshots (#14392)

Change-Id: Ifd735d55c768c351359f0b65de05da0e701f099c
tags/7.4.0.beta1
Leif Åstrand 9 years ago
parent
commit
dfc7e119b0

+ 1
- 0
uitest/src/com/vaadin/tests/components/LayoutAttachListenerInfo.java View File

@@ -122,6 +122,7 @@ public class LayoutAttachListenerInfo extends TestBase {
final GridLayout g = new GridLayout(4, 4);
g.setWidth("300px");
g.setHeight("300px");
g.setHideEmptyRowsAndColumns(true);
g.addComponentAttachListener(new ComponentAttachListener() {
@Override
public void componentAttachedToContainer(ComponentAttachEvent event) {

+ 1
- 0
uitest/src/com/vaadin/tests/layouts/TestLayoutClickListeners.java View File

@@ -106,6 +106,7 @@ public class TestLayoutClickListeners extends AbstractTestUIWithLog {
gl.setWidth("564px");
gl.setStyleName("borders");
gl.setSpacing(true);
gl.setHideEmptyRowsAndColumns(true);
addContent(gl, 4);
TextArea largeTextarea = new TextArea("Large textarea");
largeTextarea.setWidth("100%");

Loading…
Cancel
Save