diff flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 3703:4e32de1b6a9e

Fix for line label text in Delta W(t) chart (#837). flys-client/trunk@5430 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Tue, 11 Sep 2012 12:05:08 +0000
parents 394e1a9915ec
children e8a4d2fd25cc
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Tue Sep 11 12:05:08 2012 +0000
@@ -295,7 +295,6 @@
                          "pointcolor",
                          "pointsize",
                          "textcolor",
-                         "textorientation",
                          "backgroundcolor",
                          "showbackground",
                          "showlinelabel",
@@ -303,6 +302,7 @@
                          "labelfontcolor",
                          "labelfontsize",
                          "labelfontstyle",
+                         "textorientation",
                          "labelshowbg",
                          "labelbgcolor",
                          "showpointlabel",
@@ -423,8 +423,8 @@
             if(name.equals("textorientation")) {
                 f = new SelectItem(name, MSG.getString(name));
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
-                valueMap.put("true", "horizontal");
-                valueMap.put("false", "vertical");
+                valueMap.put("true", MSG.getString("horizontal"));
+                valueMap.put("false", MSG.getString("vertical"));
                 f.setValueMap(valueMap);
                 f.setValue(value);
             }

http://dive4elements.wald.intevation.org