[1.1.4, 1.1.3]Grid in ContentPanel shows large blank space at bottom of grid
[1.1.4, 1.1.3]Grid in ContentPanel shows large blank space at bottom of grid
I have a UI that consists of a Viewport, with a borderLayout(), using just the North and Center areas. In those 2 areas I place a grid. The grids display a 50-100 pixel tall blank area at the base of each grid. I can't figure out what is causing this, and I would like to make them (the blank space) go away. (See attached image.)
Code is below:
List<Stock> l = new ArrayList<Stock>();
for ( int ii=0; ii<200; ++ii ) {
Stock m = new Stock();
m.set( "name", ((String)m.get( "name" )) + ii );
l.add( m );
}
store.add(l);
List<ColumnConfig> configs = new ArrayList<ColumnConfig>();
ColumnConfig column = new ColumnConfig();
column.setId("name");
column.setHeader("Company");
column.setWidth(100);
configs.add(column);
column = new ColumnConfig();
column.setId("symbol");
column.setHeader("Symbol");
column.setWidth(100);
configs.add(column);
column = new ColumnConfig();
column.setId("last");
column.setHeader("Last");
column.setAlignment(HorizontalAlignment.RIGHT);
column.setWidth(75);
configs.add(column);
column = new ColumnConfig("change", "Change", 100);
column.setAlignment(HorizontalAlignment.RIGHT);
configs.add(column);
column = new ColumnConfig("date", "Last Updated", 100);
column.setAlignment(HorizontalAlignment.RIGHT);
column.setDateTimeFormat(DateTimeFormat.getShortDateFormat());
configs.add(column);