diff flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java @ 272:d3c053420c3b

ISSUE 44: Moved the location/range and WQ input tables to the helper panel and set the size to 100%. flys-client/trunk@1898 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 11 May 2011 11:07:18 +0000
parents eb3f9b6496a5
children f4c8ce11df33
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java	Wed May 11 10:04:49 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java	Wed May 11 11:07:18 2011 +0000
@@ -113,10 +113,10 @@
      * This method creates a table that contains the location values.
      */
     protected void createLocationTable() {
-        locationTable.setWidth(450);
+        locationTable.setWidth100();
         locationTable.setShowRecordComponents(true);
         locationTable.setShowRecordComponentsByCell(true);
-        locationTable.setHeight(300);
+        locationTable.setHeight100();
         locationTable.setEmptyMessage(MESSAGES.empty_table());
 
         ListGridField addLocation = new ListGridField ("", "");
@@ -216,7 +216,7 @@
 
         container.setMembersMargin(30);
 
-        container.addMember(locationTable);
+        helperContainer.addChild(locationTable);
         createInputPanel();
         return layout;
     }

http://dive4elements.wald.intevation.org