[PATCH] (issue1764) Use datepicker with text field

Wald Commits scm-commit at wald.intevation.org
Thu Oct 30 10:33:21 CET 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1414661596 -3600
# Node ID d2b85c0c35b7de2bac997b7b2a24cd8ae1ce1dca
# Parent  572c102b181929f4b8e341b8526a8c0c95777beb
(issue1764) Use datepicker with text field

    This brings it more in line with other date input fields in d4e

diff -r 572c102b1819 -r d2b85c0c35b7 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartPropertiesEditor.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartPropertiesEditor.java	Wed Oct 29 19:52:06 2014 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartPropertiesEditor.java	Thu Oct 30 10:33:16 2014 +0100
@@ -505,6 +505,7 @@
         DateItem item = new DateItem(name, MSG.getString(name));
         item.setTitleAlign(Alignment.LEFT);
         item.setTitleStyle("color:#000;");
+        item.setUseTextField(true);
 
         item.addBlurHandler(new BlurHandler() {
             @Override


More information about the Dive4Elements-commits mailing list