[PATCH 4 of 4] Allow more compact display of mainvalue-table

Wald Commits scm-commit at wald.intevation.org
Wed Nov 20 11:05:53 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1384941977 -3600
# Node ID a52b820c9006c05d325f275ec93662efec7130d7
# Parent  a64ed9f067c62386e884dcc842f3e82ec936637f
Allow more compact display of mainvalue-table.

diff -r a64ed9f067c6 -r a52b820c9006 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WTable.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WTable.java	Wed Nov 20 11:03:53 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WTable.java	Wed Nov 20 11:06:17 2013 +0100
@@ -81,7 +81,7 @@
 
         ListGridField select = new ListGridField("select", MESSAGE.selection());
         select.setType(ListGridFieldType.ICON);
-        select.setWidth(70);
+        select.setWidth(60);
         select.setCellIcon(baseUrl + MESSAGE.markerGreen());
 
         setFields(select, name, startTime, stopTime, type, value);
@@ -96,7 +96,7 @@
         final String propertyName, String displayName) {
         ListGridField listGridField = new ListGridField(propertyName, displayName);
         listGridField.setType(ListGridFieldType.DATE);
-        listGridField.setWidth("60");
+        listGridField.setWidth("50");
         listGridField.setCellFormatter(createYearDateFormatter(propertyName));
         return listGridField;
     }


More information about the Dive4elements-commits mailing list