Mercurial > dive4elements > river
changeset 596:3f094045d512
Adapted a german string in the WQ panel.
flys-client/trunk@2196 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 22 Jun 2011 08:06:19 +0000 (2011-06-22) |
parents | 9155110ec0a6 |
children | 14e5e51a7de4 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java |
diffstat | 3 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Wed Jun 22 07:39:12 2011 +0000 +++ b/flys-client/ChangeLog Wed Jun 22 08:06:19 2011 +0000 @@ -1,3 +1,11 @@ +2011-06-22 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: + Renamed the german translation of wq mode for "Q at gauge". + + * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: + Adapted the layout to fit the (long) german wq mode string. + 2011-06-22 Ingo Weinzierl <ingo@intevation.de> flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Wed Jun 22 07:39:12 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Wed Jun 22 08:06:19 2011 +0000 @@ -52,7 +52,7 @@ calcTableTitle = Berechnungsausgabe wqW = W am Pegel [cm] wqQ = Q [m\u00b3/s] -wqQGauge = Q [m\u00b3/s] am Pegel +wqQGauge = Q [m\u00b3/s] am Pegel (Kennzeichnender Abfluss) wqSingle = Einzelwerte wqRange = Wertebereich unitWNN = W [NN+m]
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Jun 22 07:39:12 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Jun 22 08:06:19 2011 +0000 @@ -86,9 +86,9 @@ public static final String FIELD_MODE_RANGE = "range"; /** The constant value that determines the width of the left panel.*/ - public static final int WIDTH_LEFT_UPPER = 300; + public static final int WIDTH_LEFT_UPPER = 400; - public static final int WIDTH_LEFT_LOWER = 238; + public static final int WIDTH_LEFT_LOWER = 223; /** The container that manages the w and q panels.*/ @@ -587,6 +587,7 @@ wq.setShowTitle(false); wq.setVertical(false); wq.setWidth(WIDTH_LEFT_UPPER); + wq.setWrap(false); RadioGroupItem mode = new RadioGroupItem(FIELD_MODE); mode.setShowTitle(false);