diff flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.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 f56523bf4c55
children be842e36ce1c
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Wed May 11 10:04:49 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Wed May 11 11:07:18 2011 +0000
@@ -448,8 +448,8 @@
         Tab locations = new Tab(MESSAGES.location());
         Tab distances = new Tab(MESSAGES.distance());
 
-        inputTables.setWidth(500);
-        inputTables.setHeight(350);
+        inputTables.setWidth100();
+        inputTables.setHeight100();
 
         locations.setPane(locationsTable);
         distances.setPane(distanceTable);
@@ -457,7 +457,7 @@
         inputTables.addTab(locations);
         inputTables.addTab(distances);
 
-        container.addMember(inputTables);
+        helperContainer.addChild(inputTables);
 
         return layout;
     }
@@ -635,7 +635,7 @@
             inputTables.addTab(t2);
             updateDistanceInfo(tableData);
 
-            container.addMember(inputTables);
+            helperContainer.addChild(inputTables);
             inputTables.selectTab(0);
         }
         else {
@@ -662,7 +662,7 @@
                 updateDistanceInfo(tableData);
             }
 
-            container.addMember(inputTables);
+            helperContainer.addChild(inputTables);
             inputTables.selectTab(1);
         }
     }

http://dive4elements.wald.intevation.org