# HG changeset patch # User Bjoern Ricks # Date 1348058623 0 # Node ID ed978af1f0890f145bcaadd3399675484fc10d3c # Parent 7a34af684ed4067b0f6c1e38128ffe23df22ac80 Improve the handling of the GaugePanel in the ParameterList flys-client/trunk@5522 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 7a34af684ed4 -r ed978af1f089 flys-client/ChangeLog --- a/flys-client/ChangeLog Wed Sep 19 12:41:48 2012 +0000 +++ b/flys-client/ChangeLog Wed Sep 19 12:43:43 2012 +0000 @@ -1,3 +1,9 @@ +2012-09-19 Björn Ricks + + * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: + Improve handling of the GaugePanel and don't delete members of the + GaugePanel. + 2012-09-19 Björn Ricks * src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java, diff -r 7a34af684ed4 -r ed978af1f089 flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java Wed Sep 19 12:41:48 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java Wed Sep 19 12:43:43 2012 +0000 @@ -224,7 +224,7 @@ } }; gaugePanel.setWidth100(); - gaugePanel.setHeight("20%"); + gaugePanel.setHeight100(); // This canvas is used to render helper widgets. final SectionStackSection helperSection = new SectionStackSection(); @@ -701,11 +701,6 @@ helperPanel.removeMembers(c); } - c = gaugePanel.getMembers(); - if (c != null && c.length > 0) { - gaugePanel.removeMembers(c); - } - Artifact art = event.getNewValue(); ArtifactDescription desc = art.getArtifactDescription(); @@ -749,7 +744,6 @@ } if (art instanceof WINFOArtifact) { renderGaugeInfo(desc.getRiver()); - gaugePanel.show(); } addOldDatas(