changeset 2433:47a7bdfb4d37

fix flys/issue613 . cap max point size. flys-client/trunk@4096 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 01 Mar 2012 09:47:55 +0000
parents 61c8e517671e
children e8b38b5e4cf9
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Feb 17 11:04:18 2012 +0000
+++ b/flys-client/ChangeLog	Thu Mar 01 09:47:55 2012 +0000
@@ -1,3 +1,11 @@
+2012-01-01	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Fix flys/issue613 (points too big to play perfectly with other legend
+	items).
+
+	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:
+	  Restrict point size. Add intermediate levels instead.
+
 2012-02-17  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Fri Feb 17 11:04:18 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Thu Mar 01 09:47:55 2012 +0000
@@ -263,11 +263,12 @@
             else if (name.equals("pointsize")) {
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
                 valueMap.put("1", "1");
+                valueMap.put("2", "2");
                 valueMap.put("3", "3");
+                valueMap.put("4", "4");
                 valueMap.put("5", "5");
+                valueMap.put("6", "6");
                 valueMap.put("7", "7");
-                valueMap.put("9", "9");
-                valueMap.put("11", "11");
                 f.setValueMap(valueMap);
             }
             f.setValue(value);

http://dive4elements.wald.intevation.org