diff flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java @ 886:2161d3acc83f

Changed field size from fixed to percental value in helper tables. flys-client/trunk@2720 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 13 Sep 2011 12:47:54 +0000
parents dbaef661d0e5
children dd702348b878
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java	Tue Sep 13 12:26:02 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java	Tue Sep 13 12:47:54 2011 +0000
@@ -51,19 +51,19 @@
 
         ListGridField lside = new ListGridField("riverside", MSG.riverside());
         lside.setType(ListGridFieldType.TEXT);
-        lside.setWidth(40);
+        lside.setWidth("12%");
 
         ListGridField loc = new ListGridField("from", MSG.locations());
         loc.setType(ListGridFieldType.TEXT);
-        loc.setWidth(40);
+        loc.setWidth("12%");
 
         ListGridField bottom = new ListGridField("bottom", MSG.bottom_edge());
         bottom.setType(ListGridFieldType.TEXT);
-        bottom.setWidth(30);
+        bottom.setWidth("10%");
 
         ListGridField top = new ListGridField("top", MSG.top_edge());
         top.setType(ListGridFieldType.TEXT);
-        top.setWidth(30);
+        top.setWidth("10%");
 
         setFields(addfrom, addto, ldescr, loc, lside, bottom, top);
     }

http://dive4elements.wald.intevation.org