3, spacerWidget()); layout.getCellFormatter().setHeight(currentLayoutRow + 1, 3, "100%");
3, spacerWidget()); layout.getCellFormatter().setHeight(currentLayoutRow + 1, 3, "100%");
3, spacerWidget() ); layout.getCellFormatter().setHeight( currentLayoutRow + 1, 3, "100%" );
rCellFormatter.setHeight(nRow, nCol, "100%");
this.mainGrid.getCellFormatter().setHeight(0, 0, this.getConfiguration().getSideImagesHeight()+"px"); this.mainGrid.getCellFormatter().setHeight(0, 1, this.getConfiguration().getSideImagesHeight()+"px"); this.mainGrid.getCellFormatter().setHeight(0, 2, this.getConfiguration().getSideImagesHeight()+"px"); this.mainGrid.getCellFormatter().setHeight(1, 0, this.sideHeight+"px"); this.mainGrid.getCellFormatter().setHeight(1, 2, this.sideHeight+"px"); this.mainGrid.getCellFormatter().setHeight(2, 2, this.getConfiguration().getSideImagesHeight()+"px"); this.mainGrid.getCellFormatter().setHeight(2, 0, this.getConfiguration().getSideImagesHeight()+"px"); this.mainGrid.getCellFormatter().setHeight(2, 1, this.getConfiguration().getSideImagesHeight()+"px");
aMainPanel.setWidget(DATA_ROW, 0, aScrollPanel); aMainPanel.getCellFormatter().setWidth(DATA_ROW, 0, "100%"); aMainPanel.getCellFormatter().setHeight(DATA_ROW, 0, "100%"); aMainPanel.setCellSpacing(0); aMainPanel.setCellPadding(0);
/** * Prepares the selected value box for displaying. */ protected void prepareSelectedValue() { TextBox selectedValue = getSelectedValue(); selectedValue.setReadOnly(!isCustomTextAllowed()); selectedValue.setStyleName("selected-value"); if(getHeight() != null) { getLayout().setHeight("100%"); getLayout().getCellFormatter().setHeight(0, 0, "100%"); getSelectedValue().setHeight("100%"); } if (getWidth() != null) { getLayout().setWidth("100%"); getLayout().getCellFormatter().setWidth(0, 0, "100%"); getSelectedValue().setWidth("100%"); } }
public void setHeight(String height) { super.setHeight(height); panel.setHeight(height); cellFormat.setHeight(height); grid.table.getCellFormatter().setHeight(row, col, height); }