[Dive4elements-commits] [PATCH 2 of 2] Merged
Wald Commits
scm-commit at wald.intevation.org
Thu Nov 15 14:20:59 CET 2012
# HG changeset patch
# User Christian Lins <christian.lins at intevation.de>
# Date 1352985655 -3600
# Node ID 5a2dba5be941dd755637dc056f65e7a7e7ade8ba
# Parent 953480be5543b3ff0bd05bc5597895bfe5e558e0
# Parent 4c2c1d4cf777080fa056030a1b996a0e82709605
Merged
diff -r 953480be5543 -r 5a2dba5be941 flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java Thu Nov 15 14:23:49 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java Thu Nov 15 14:20:55 2012 +0100
@@ -181,7 +181,7 @@
int height = rootLayout.getHeight() -
controlPanel.getHeight() - 6;
int width = controlPanel.getWidth() -
- (themePanelCanvas.isVisible() ? themePanelCanvas.getWidth() + 4 : 0);
+ (themePanelCanvas.isVisible() ? themePanelCanvas.getWidth() + 4 : 2);
// Set size and position of Map
String w = String.valueOf(width) + "px";
@@ -189,6 +189,7 @@
GWT.log("width=" + w);
mapPanel.setSize(w, h);
+ mapPanel.getMap().updateSize();
if(themePanelCanvas.isVisible()) {
absPan.setWidgetPosition(mapPanel, themePanelCanvas.getWidth() + 2, 0);
}
More information about the Dive4elements-commits
mailing list