Change-Id: Ifd735d55c768c351359f0b65de05da0e701f099c
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) {
gl.setWidth("564px");
gl.setStyleName("borders");
gl.setSpacing(true);
+ gl.setHideEmptyRowsAndColumns(true);
addContent(gl, 4);
TextArea largeTextarea = new TextArea("Large textarea");
largeTextarea.setWidth("100%");