changeset 285:3e99953bac8d

ISSUE 61: Changed datacage button style. flys-client/trunk@1914 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 12 May 2011 16:47:23 +0000
parents be842e36ce1c
children 0fa8bf8a2295
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java
diffstat 2 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu May 12 15:42:37 2011 +0000
+++ b/flys-client/ChangeLog	Thu May 12 16:47:23 2011 +0000
@@ -1,3 +1,10 @@
+2011-05-12  Raimund Renkert <rrenkert@intevation.de>
+
+	  ISSUE-61
+
+	* src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java:
+	  Changed datacage button style.
+
 2011-05-12  Raimund Renkert <rrenkert@intevation.de>
 
 	  ISSUE-46
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java	Thu May 12 15:42:37 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java	Thu May 12 16:47:23 2011 +0000
@@ -4,6 +4,8 @@
 
 import com.google.gwt.core.client.GWT;
 
+import com.smartgwt.client.types.Alignment;
+
 import com.smartgwt.client.widgets.Canvas;
 import com.smartgwt.client.widgets.Img;
 import com.smartgwt.client.widgets.Label;
@@ -63,7 +65,7 @@
         right     = new Canvas();
 
         tbarPanel.setBorder("1px solid black");
-        tbarPanel.setHeight(25);
+        tbarPanel.setHeight(30);
         left.setBorder("1px solid black");
         left.setWidth("25%");
         right.setWidth("*");
@@ -117,10 +119,13 @@
         hLayout.setHeight100();
         hLayout.setMembersMargin(10);
 
-        IButton datacage = new IButton("Datenkorb");
-        datacage.setHeight(25);
-        datacage.setMargin(5);
+        Label datacage = new Label("Datenkorb");
+        datacage.setHeight(20);
+        datacage.setBackgroundColor("#BED730");
+        datacage.setBorder("1px solid black");
+        datacage.setAlign(Alignment.CENTER);
 
+        hLayout.setMargin(5);
         hLayout.addMember(datacage);
         datacage.addClickHandler(new ClickHandler() {
             public void onClick(ClickEvent event) {

http://dive4elements.wald.intevation.org