changeset 7941:48d8dba891f6

Fixed columns in location/distance helper panels.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 18 Jun 2014 14:25:46 +0200
parents 217ff570d83f
children 1d6e5d9d9e57
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationDistancePanel.java gwt-client/src/main/java/org/dive4elements/river/client/client/ui/range/LocationsTable.java
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationDistancePanel.java	Wed Jun 18 14:25:01 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationDistancePanel.java	Wed Jun 18 14:25:46 2014 +0200
@@ -250,7 +250,7 @@
 
         ListGridField addDistance = new ListGridField ("", "");
         addDistance.setType (ListGridFieldType.ICON);
-        addDistance.setWidth (20);
+        addDistance.setWidth (30);
         addDistance.addRecordClickHandler (new RecordClickHandler () {
             @Override
             public void onRecordClick (RecordClickEvent e) {
@@ -463,12 +463,12 @@
             }
         };
 
-        ListGridField addfrom = new ListGridField ("from", MESSAGES.from());
+        ListGridField addfrom = new ListGridField ("fromIcon", MESSAGES.from());
         addfrom.setType (ListGridFieldType.ICON);
         addfrom.setWidth (30);
         addfrom.setCellIcon(baseUrl + MESSAGES.markerGreen());
 
-        ListGridField addto2 = new ListGridField ("to", MESSAGES.to());
+        ListGridField addto2 = new ListGridField ("toIcon", MESSAGES.to());
         addto2.setType (ListGridFieldType.ICON);
         addto2.setWidth (30);
         addto2.setCellIcon(baseUrl + MESSAGES.markerRed());
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/range/LocationsTable.java	Wed Jun 18 14:25:01 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/range/LocationsTable.java	Wed Jun 18 14:25:46 2014 +0200
@@ -44,12 +44,12 @@
         setEmptyMessage(MSG.empty_filter());
         setCanReorderFields(false);
 
-        ListGridField addfrom = new ListGridField ("from", MSG.from());
+        ListGridField addfrom = new ListGridField ("fromIcon", MSG.from());
         addfrom.setType(ListGridFieldType.ICON);
         addfrom.setWidth(30);
         addfrom.setCellIcon(baseUrl + MSG.markerGreen());
 
-        ListGridField addto = new ListGridField("to", MSG.to());
+        ListGridField addto = new ListGridField("toIcon", MSG.to());
         addto.setType(ListGridFieldType.ICON);
         addto.setWidth(30);
         addto.setCellIcon(baseUrl + MSG.markerRed());

http://dive4elements.wald.intevation.org