[Dive4elements-commits] [PATCH] Resized main value window
Wald Commits
scm-commit at wald.intevation.org
Wed Feb 20 10:06:47 CET 2013
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1361351185 -3600
# Node ID ef289466917a3a9d54bdf6041bd1705cfa812b66
# Parent 4bf3b89b38d59c37b45c9bb69c0d00dbdc0ade4a
Resized main value window.
diff -r 4bf3b89b38d5 -r ef289466917a flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Wed Feb 20 09:53:24 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Wed Feb 20 10:06:25 2013 +0100
@@ -446,11 +446,11 @@
double km = (gauge.getKmEnd() + gauge.getKmStart())/2d;
mainValueView.addItem(new WQAutoTabSet(gauge.getRiverName(),
new double[] {km, km}));
- mainValueView.setWidth(1010);
- mainValueView.setHeight(700);
+ mainValueView.setWidth(450);
+ mainValueView.setHeight(600);
- mainValueView.setMaximized(true);
-
+ mainValueView.setMaximized(false);
+ mainValueView.centerInPage();
mainValueView.setCanDragReposition(true);
mainValueView.setCanDragResize(true);
mainValueView.setShowMaximizeButton(true);
More information about the Dive4elements-commits
mailing list