# HG changeset patch # User Raimund Renkert # Date 1316075947 0 # Node ID 1e08a5b0add94365e79c60cbdc003a57daf9efa0 # Parent dd702348b878dd14f5ce8e9f5e85609bab57d413 Changed table header string and set the column width to percental value. (Issue194) flys-client/trunk@2754 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r dd702348b878 -r 1e08a5b0add9 flys-client/ChangeLog --- a/flys-client/ChangeLog Wed Sep 14 16:13:17 2011 +0000 +++ b/flys-client/ChangeLog Thu Sep 15 08:39:07 2011 +0000 @@ -1,3 +1,17 @@ +2011-09-15 Raimund Renkert + + Issue194 + + * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java: + Changed table header string and set the column width to percental + value. + + * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants.java, + src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: + Added i18n string for "Q/D" table header. + 2011-09-14 Raimund Renkert Issue200 diff -r dd702348b878 -r 1e08a5b0add9 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Wed Sep 14 16:13:17 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Thu Sep 15 08:39:07 2011 +0000 @@ -276,6 +276,8 @@ String chart_themepanel_header_actions(); + String discharge(); + // ERRORS String error_read_minmax_values(); diff -r dd702348b878 -r 1e08a5b0add9 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Wed Sep 14 16:13:17 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Thu Sep 15 08:39:07 2011 +0000 @@ -47,6 +47,7 @@ unitTo = km a unitWidth = m search = Search +discharge = FIXME(Name) dpLabelFrom = From dpUnitFrom = km diff -r dd702348b878 -r 1e08a5b0add9 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Wed Sep 14 16:13:17 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Thu Sep 15 08:39:07 2011 +0000 @@ -47,6 +47,7 @@ unitTo = km a unitWidth = m search = Suchbegriff +discharge = Kennzeichnender Abfluss dpLabelFrom = Von dpUnitFrom = km @@ -85,7 +86,7 @@ helperPanelTitle = Eingabeunterst\u00fctzung wqW = W am Pegel [cm] wqQ = Q [m\u00b3/s] -wqQGauge = Q [m\u00b3/s] am Pegel (Kennzeichnender Abfluss) +wqQGauge = Q [m\u00b3/s] am Pegel wqSingle = Einzelwerte wqRange = Wertebereich unitWNN = W [NN+m] diff -r dd702348b878 -r 1e08a5b0add9 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Wed Sep 14 16:13:17 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Thu Sep 15 08:39:07 2011 +0000 @@ -47,6 +47,7 @@ unitTo = km a unitWidth = m search = Search +discharge = FIXME(Name) dpLabelFrom = From dpUnitFrom = km diff -r dd702348b878 -r 1e08a5b0add9 flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java --- 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); }