comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java @ 272:d3c053420c3b

ISSUE 44: Moved the location/range and WQ input tables to the helper panel and set the size to 100%. flys-client/trunk@1898 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 11 May 2011 11:07:18 +0000
parents eb3f9b6496a5
children f4c8ce11df33
comparison
equal deleted inserted replaced
271:65735765643d 272:d3c053420c3b
111 111
112 /** 112 /**
113 * This method creates a table that contains the location values. 113 * This method creates a table that contains the location values.
114 */ 114 */
115 protected void createLocationTable() { 115 protected void createLocationTable() {
116 locationTable.setWidth(450); 116 locationTable.setWidth100();
117 locationTable.setShowRecordComponents(true); 117 locationTable.setShowRecordComponents(true);
118 locationTable.setShowRecordComponentsByCell(true); 118 locationTable.setShowRecordComponentsByCell(true);
119 locationTable.setHeight(300); 119 locationTable.setHeight100();
120 locationTable.setEmptyMessage(MESSAGES.empty_table()); 120 locationTable.setEmptyMessage(MESSAGES.empty_table());
121 121
122 ListGridField addLocation = new ListGridField ("", ""); 122 ListGridField addLocation = new ListGridField ("", "");
123 addLocation.setType (ListGridFieldType.ICON); 123 addLocation.setType (ListGridFieldType.ICON);
124 addLocation.setWidth ("30"); 124 addLocation.setWidth ("30");
214 214
215 layout.addMember(container); 215 layout.addMember(container);
216 216
217 container.setMembersMargin(30); 217 container.setMembersMargin(30);
218 218
219 container.addMember(locationTable); 219 helperContainer.addChild(locationTable);
220 createInputPanel(); 220 createInputPanel();
221 return layout; 221 return layout;
222 } 222 }
223 223
224 224

http://dive4elements.wald.intevation.org