[Dive4elements-commits] [PATCH 1 of 2] Center print Window in the page to recive click events

Wald Commits scm-commit at wald.intevation.org
Tue Apr 9 15:16:04 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365513222 -7200
# Node ID 98906446eadf1a36c576252ffe6c79f3bd78c95a
# Parent  80e8ef91223c2ab4af1c673396dc73f81afb6021
Center print Window in the page to recive click events

    The removal of setShowModalMask has nothing to do with this but this
    was just uneccessary

diff -r 80e8ef91223c -r 98906446eadf flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java	Tue Apr 09 12:44:57 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java	Tue Apr 09 15:13:42 2013 +0200
@@ -16,11 +16,10 @@
         setHeight(280);
 
         setTitle(MSG.printWindowTitle());
+        centerInPage();
 
         this.panel = new MapPrintPanel(collection, mapToolbar, this);
         this.panel.setPadding(20);
         addItem(this.panel);
-
-        setShowModalMask(true);
     }
 }


More information about the Dive4elements-commits mailing list