comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.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
comparison
equal deleted inserted replaced
885:eeea6a02d62c 886:2161d3acc83f
158 ldescr.setType(ListGridFieldType.TEXT); 158 ldescr.setType(ListGridFieldType.TEXT);
159 ldescr.setWidth("*"); 159 ldescr.setWidth("*");
160 ListGridField lside = new ListGridField("riverside", 160 ListGridField lside = new ListGridField("riverside",
161 MESSAGES.riverside()); 161 MESSAGES.riverside());
162 lside.setType(ListGridFieldType.TEXT); 162 lside.setType(ListGridFieldType.TEXT);
163 lside.setWidth(40); 163 lside.setWidth("10%");
164 164
165 ListGridField loc = new ListGridField("from", MESSAGES.location()); 165 ListGridField loc = new ListGridField("from", MESSAGES.location());
166 loc.setType(ListGridFieldType.TEXT); 166 loc.setType(ListGridFieldType.TEXT);
167 loc.setWidth(40); 167 loc.setWidth("10%");
168 168
169 ListGridField bottom = 169 ListGridField bottom =
170 new ListGridField("bottom", MESSAGES.bottom_edge()); 170 new ListGridField("bottom", MESSAGES.bottom_edge());
171 bottom.setType(ListGridFieldType.TEXT); 171 bottom.setType(ListGridFieldType.TEXT);
172 bottom.setWidth(30); 172 bottom.setWidth("10%");
173 173
174 ListGridField top = 174 ListGridField top =
175 new ListGridField("top", MESSAGES.top_edge()); 175 new ListGridField("top", MESSAGES.top_edge());
176 top.setType(ListGridFieldType.TEXT); 176 top.setType(ListGridFieldType.TEXT);
177 top.setWidth(30); 177 top.setWidth("10%");
178 178
179 locationTable.setFields( 179 locationTable.setFields(
180 addLocation, ldescr, loc, lside, bottom, top); 180 addLocation, ldescr, loc, lside, bottom, top);
181 } 181 }
182 182

http://dive4elements.wald.intevation.org