changeset 55:08ae8b6d627f CellTable

Set column width of CellTable. So they always fill up 100% and page changes dont alter the layout.
author Sebastian Kruse <skruse@mpiwg-berlin.mpg.de>
date Tue, 11 Dec 2012 15:34:37 +0100
parents 5c51a488c822
children 448fbc8865a5
files src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java	Mon Dec 10 17:28:22 2012 +0100
+++ b/src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java	Tue Dec 11 15:34:37 2012 +0100
@@ -309,6 +309,10 @@
 	    	}
 	    });
 	    
+	    this.elementsTable.setColumnWidth(nameColumn, "33%");
+	    this.elementsTable.setColumnWidth(placeColumn, "33%");
+	    this.elementsTable.setColumnWidth(descriptionColumn, "33%");
+	    
 	    this.elementsTable.addCellPreviewHandler(new Handler<DataObject>()
 	    	    {
 	    	        //@Override