# HG changeset patch # User Ingo Weinzierl # Date 1308729979 0 # Node ID 3f094045d5126d9a6b2299f438a4a1e978629639 # Parent 9155110ec0a649886eaca8d65ea8afe9b8a89aae Adapted a german string in the WQ panel. flys-client/trunk@2196 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 9155110ec0a6 -r 3f094045d512 flys-client/ChangeLog --- 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 + + * 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 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke) diff -r 9155110ec0a6 -r 3f094045d512 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 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] diff -r 9155110ec0a6 -r 3f094045d512 flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java --- 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);