Mercurial > dive4elements > river
changeset 4532:5a2dba5be941
Merged
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Thu, 15 Nov 2012 14:20:55 +0100 |
parents | 953480be5543 (current diff) 4c2c1d4cf777 (diff) |
children | 0a0ab6909cd8 7b454c6e2bcb |
files | |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }