[PATCH] Set identifier for listgridfields and resized columns

Wald Commits scm-commit at wald.intevation.org
Wed Jun 25 15:41:03 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1403703644 -7200
# Node ID d1cfd23e35cd58b5ade1d1d6d4bed35f92063ee2
# Parent  c9b6fe05334a278b161c3ee40a7de9fcbe829bf4
Set identifier for listgridfields and resized columns.

diff -r c9b6fe05334a -r d1cfd23e35cd gwt-client/src/main/java/org/dive4elements/river/client/client/ui/GaugeTimeRangePanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/GaugeTimeRangePanel.java	Tue Jun 24 16:02:41 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/GaugeTimeRangePanel.java	Wed Jun 25 15:40:44 2014 +0200
@@ -295,9 +295,9 @@
         };
 
 
-        ListGridField addstart = new ListGridField ("", MESSAGES.from());
+        ListGridField addstart = new ListGridField ("addstart", MESSAGES.from());
         addstart.setType (ListGridFieldType.ICON);
-        addstart.setWidth (20);
+        addstart.setWidth (30);
         addstart.setCellIcon(baseUrl + MESSAGES.markerGreen());
         addstart.addRecordClickHandler(new RecordClickHandler() {
             @Override
@@ -312,9 +312,9 @@
             }
         });
 
-        ListGridField addend = new ListGridField ("", MESSAGES.to());
+        ListGridField addend = new ListGridField ("addend", MESSAGES.to());
         addend.setType (ListGridFieldType.ICON);
-        addend.setWidth (20);
+        addend.setWidth (30);
         addend.setCellIcon(baseUrl + MESSAGES.markerRed());
         addend.addRecordClickHandler(new RecordClickHandler() {
             @Override
diff -r c9b6fe05334a -r d1cfd23e35cd gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationPicker.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationPicker.java	Tue Jun 24 16:02:41 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationPicker.java	Wed Jun 25 15:40:44 2014 +0200
@@ -156,13 +156,13 @@
         locationTable.setEmptyMessage(MSG.empty_filter());
         locationTable.setCanReorderFields(false);
 
-        ListGridField addLocation = new ListGridField ("", "");
+        ListGridField addLocation = new ListGridField ("addlocation", "");
         addLocation.setType (ListGridFieldType.ICON);
-        addLocation.setWidth (20);
+        addLocation.setWidth (30);
         addLocation.setCellIcon (baseUrl + MSG.markerGreen());
-        ListGridField addTo = new ListGridField ("", "");
+        ListGridField addTo = new ListGridField ("addto", "");
         addTo.setType (ListGridFieldType.ICON);
-        addTo.setWidth (20);
+        addTo.setWidth (30);
         addTo.setCellIcon (baseUrl + MSG.markerRed());
 
         ListGridField ldescr = new ListGridField("description",


More information about the Dive4Elements-commits mailing list