changeset 94:eb54fb9f5f2c

Fixed some issues. flys-client/trunk@1607 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 29 Mar 2011 12:51:09 +0000
parents cda0662a03d2
children e2abb6b9dc7e
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Mar 29 12:39:31 2011 +0000
+++ b/flys-client/ChangeLog	Tue Mar 29 12:51:09 2011 +0000
@@ -1,3 +1,11 @@
+2011-03-29  Raimund Renkert <rrenkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed code
+	  in ProjectList toggle method.
+
+	* src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Fixed
+	  the WQInputPanel label to have the correct size.
+
 2011-03-29  Raimund Renkert <rrenkert@intevation.de>
 
 	* src/main/webapp/FLYS.html: Added style information to avoid the smartgwt
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java	Tue Mar 29 12:39:31 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java	Tue Mar 29 12:51:09 2011 +0000
@@ -69,7 +69,7 @@
             public void onClick(ClickEvent event) {
                 GWT.log("Clicked 'Open ProjectList' button.");
                 ProjectList list = getFlys().getProjectList();
-                if (getFlys().getProjectList().isVisible())
+                if (list.isVisible())
                     list.hide();
                 else
                     list.show();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Tue Mar 29 12:39:31 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Tue Mar 29 12:51:09 2011 +0000
@@ -168,7 +168,7 @@
         Canvas back = getBackButton(dataList.getState());
 
         layout.addMember(label);
-        layout.addMember(new Label(text));
+        layout.addMember(selected);
         layout.addMember(back);
 
         return layout;

http://dive4elements.wald.intevation.org