[PATCH 1 of 3] issue1606: Handle textstyle property in clients StyleEditorWindow

Wald Commits scm-commit at wald.intevation.org
Tue Nov 19 10:20:05 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1384852679 -3600
# Node ID b2d750a6df9f9fbe68fb2aec50d78cc8249fc558
# Parent  dacc1123075fbfe324fdb9c9c7c399e9bbcb01dc
issue1606: Handle textstyle property in clients StyleEditorWindow.

diff -r dacc1123075f -r b2d750a6df9f gwt-client/src/main/java/org/dive4elements/river/client/client/ui/StyleEditorWindow.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/StyleEditorWindow.java	Mon Nov 18 15:38:52 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/StyleEditorWindow.java	Tue Nov 19 10:17:59 2013 +0100
@@ -387,7 +387,7 @@
                 f = createLineSizeUI(f);
                 f.setValue(value);
             }
-            else if (name.equals("labelfontsize")) {
+            else if (name.equals("labelfontsize") || name.equals("textsize")) {
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
                 valueMap.put("3", "3");
                 valueMap.put("5", "5");


More information about the Dive4elements-commits mailing list