Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java @ 5610:98906446eadf
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
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 09 Apr 2013 15:13:42 +0200 |
parents | 0d8564196d73 |
children | 22e03ca8c39d |
comparison
equal
deleted
inserted
replaced
5609:80e8ef91223c | 5610:98906446eadf |
---|---|
14 public MapPrintWindow(Collection collection, MapToolbar mapToolbar) { | 14 public MapPrintWindow(Collection collection, MapToolbar mapToolbar) { |
15 setWidth(255); | 15 setWidth(255); |
16 setHeight(280); | 16 setHeight(280); |
17 | 17 |
18 setTitle(MSG.printWindowTitle()); | 18 setTitle(MSG.printWindowTitle()); |
19 centerInPage(); | |
19 | 20 |
20 this.panel = new MapPrintPanel(collection, mapToolbar, this); | 21 this.panel = new MapPrintPanel(collection, mapToolbar, this); |
21 this.panel.setPadding(20); | 22 this.panel.setPadding(20); |
22 addItem(this.panel); | 23 addItem(this.panel); |
23 | |
24 setShowModalMask(true); | |
25 } | 24 } |
26 } | 25 } |