Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java @ 904:1e08a5b0add9
Changed table header string and set the column width to percental value.
(Issue194)
flys-client/trunk@2754 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 15 Sep 2011 08:39:07 +0000 |
parents | dd702348b878 |
children | 2c8f1112be37 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java Wed Sep 14 16:13:17 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java Thu Sep 15 08:39:07 2011 +0000 @@ -33,17 +33,17 @@ setShowRecordComponentsByCell(true); setEmptyMessage(MESSAGE.empty_table()); - ListGridField name = new ListGridField("name", MESSAGE.name()); + ListGridField name = new ListGridField("name", MESSAGE.discharge()); name.setType(ListGridFieldType.TEXT); name.setWidth("*"); ListGridField type = new ListGridField("type", MESSAGE.type()); type.setType(ListGridFieldType.TEXT); - type.setWidth("50"); + type.setWidth("20%"); ListGridField value = new ListGridField("value", MESSAGE.wq_value()); value.setType(ListGridFieldType.FLOAT); - type.setWidth("50"); + value.setWidth("20%"); setFields(name, type, value); }