changeset 3534:ebf47e4adea5

Overflow for toolbars is now HIDDEN. flys-client/trunk@5339 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Sat, 01 Sep 2012 08:41:21 +0000
parents a4b2220e59a6
children 75a3a41a6e51
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java
diffstat 4 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Sat Sep 01 07:54:11 2012 +0000
+++ b/flys-client/ChangeLog	Sat Sep 01 08:41:21 2012 +0000
@@ -1,3 +1,9 @@
+2012-09-01	Christian Lins	<christian.lins@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java,
+	  src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java:
+	  Overflow for Toolbars is now HIDDEN to avoid nasty scrollbars (#761).
+
 2012-09-01	Christian Lins	<christian.lins@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java	Sat Sep 01 07:54:11 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java	Sat Sep 01 08:41:21 2012 +0000
@@ -88,7 +88,7 @@
                 c, r, "winfo", locale,
                 new AsyncCallback<Artifact>() {
                     public void onFailure(Throwable caught) {
-                        SC.warn(MSG.getString(caught.getMessage()));
+                        SC.warn(caught.getMessage());
                     }
 
                     public void onSuccess(Artifact artifact) {
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java	Sat Sep 01 07:54:11 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java	Sat Sep 01 08:41:21 2012 +0000
@@ -153,6 +153,7 @@
         tbarPanel = createChartToolbar(this);
         vLayout.addMember(tbarPanel);
         vLayout.addMember(hLayout);
+	vLayout.setOverflow(Overflow.HIDDEN);
 
         setPane(vLayout);
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java	Sat Sep 01 07:54:11 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java	Sat Sep 01 08:41:21 2012 +0000
@@ -1,6 +1,7 @@
 package de.intevation.flys.client.client.ui.chart;
 
 import com.google.gwt.core.client.GWT;
+import com.smartgwt.client.types.Overflow;
 import com.smartgwt.client.widgets.Button;
 import com.smartgwt.client.widgets.Canvas;
 import com.smartgwt.client.widgets.ImgButton;
@@ -273,6 +274,8 @@
 
         addMember(spacer);
         addMember(position);
+        
+        setOverflow(Overflow.HIDDEN);
     }
 
     /**

http://dive4elements.wald.intevation.org