changeset 7966:d1cfd23e35cd

Set identifier for listgridfields and resized columns.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 25 Jun 2014 15:40:44 +0200
parents c9b6fe05334a
children 6d5cbd69511a
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/GaugeTimeRangePanel.java gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationPicker.java
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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",

http://dive4elements.wald.intevation.org