Mercurial > dive4elements > river
changeset 4988:e2053fbcd165
GaugeInfoPanel: Smarter formatten link, i18n.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 14 Feb 2013 10:50:08 +0100 |
parents | 1caf1d735079 |
children | eee722bc85da |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeInfoPanel.java |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeInfoPanel.java Thu Feb 14 10:49:42 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeInfoPanel.java Thu Feb 14 10:50:08 2013 +0100 @@ -26,7 +26,7 @@ setStyleName("gaugeinfopanel"); setWidth100(); - Grid grid = new Grid(4, 2); + Grid grid = new Grid(5, 2); NumberFormat nf = NumberFormat.getDecimalFormat(); @@ -59,8 +59,9 @@ grid.setText(3, 1, nf.format(datum)); } + grid.setWidget(4,0, new GaugeMainValueAnchor(flys, gauge)); + addMember(grid); - addMember(new GaugeMainValueAnchor(flys, gauge)); } @@ -74,10 +75,10 @@ private GaugeInfo gauge; public GaugeMainValueAnchor(FLYS flys, GaugeInfo gauge) { - super("TODO:i18n MainVALUES"); - // TODO i18n mainvalues + super(MSG.show_mainvalues()); this.flys = flys; this.gauge = gauge; + this.setHeight("5"); addClickHandler(this); }