changeset 269:eb3c16df59db

ISSUE-41 Moved the panel that shows the computation results right beside the parameterization - NOTE: issue is still open. flys-client/trunk@1893 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 11 May 2011 07:32:08 +0000
parents eb3f9b6496a5
children d01b0d81b92a
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java
diffstat 2 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed May 11 07:06:22 2011 +0000
+++ b/flys-client/ChangeLog	Wed May 11 07:32:08 2011 +0000
@@ -1,4 +1,15 @@
-2011-05-10  Ingo Weinzierl <ingo@intevation.de>
+2011-05-11  Ingo Weinzierl <ingo@intevation.de>
+
+	  ISSUE-41 (part1)
+
+	* src/main/java/de/intevation/flys/client/client/ui/ParameterList.java:
+	  Moved the computation result panel right beside the parameterization.
+
+	  TODO: This panel has now hard coded width/height. The result of this is,
+	  that it does not change its size when the parent component is resized.
+	  So, the width and height should be set to 100%.
+
+2011-05-11  Ingo Weinzierl <ingo@intevation.de>
 
 	  ISSUE-57
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Wed May 11 07:06:22 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Wed May 11 07:32:08 2011 +0000
@@ -148,6 +148,8 @@
 
         // This canvas is used to render helper widgets
         helperPanel = new Canvas();
+        helperPanel.setWidth("*");
+        helperPanel.setHeight100();
 
         rootLayout.addMember(left);
         rootLayout.addMember(helperPanel);
@@ -480,8 +482,9 @@
      */
     public void setPanel (TableDataPanel table) {
         tablePanel = table.create();
-        tablePanel.setHeight(400);
-        topLayout.addMember(tablePanel);
+        tablePanel.setHeight(500);
+        tablePanel.setWidth(300);
+        helperPanel.addChild(tablePanel);
     }
 
 

http://dive4elements.wald.intevation.org