changeset 5756:b73de25c01b4

Draw stamp on white background and some layout improvements
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 18 Apr 2013 11:40:52 +0200
parents 3e2ab854d5c0
children 036d5591e65d
files flys-client/src/main/webapp/WEB-INF/config.yaml
diffstat 1 files changed, 30 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/config.yaml	Thu Apr 18 11:40:22 2013 +0200
+++ b/flys-client/src/main/webapp/WEB-INF/config.yaml	Thu Apr 18 11:40:52 2013 +0200
@@ -139,18 +139,6 @@
           width: 587
           height: 555
           spacingAfter: 0
-        # The scale text
-        - !columns
-          absoluteX: 620
-          absoluteY: 30
-          width: 60
-          items:
-            - !text
-              fontSize: 8
-              text: '1:${scale}'
-              fontEncoding: Identity-H
-              font: FreeSans
-              backgroundColor: #FFFFFF
         # The north arrow
         - !columns
           absoluteX: 627
@@ -161,6 +149,19 @@
               maxWidth: 20
               maxHeight: 40
               url: '${configDir}/../images/north.png'
+        # The scale text
+        - !columns
+          absoluteX: 615
+          absoluteY: 30
+          width: 45
+          items:
+            - !text
+              fontSize: 8
+              text: '1:${scale}'
+              align: center
+              fontEncoding: Identity-H
+              font: FreeSans
+              backgroundColor: #FFFFFF
         #Flys and BFG Logo
         - !columns
           absoluteX: 760
@@ -200,7 +201,7 @@
           width: 200
           items:
             - !legends
-              maxHeight: 325
+              maxHeight: 310
               maxWidth: 0
               maxIconHeight: 0
               inline: true
@@ -218,23 +219,32 @@
             borderWidthRight: 1
             borderWidthTop: 1
             borderWidthBottom: 1
+        # The stamp background
+        - !columns
+          absoluteX: 557
+          absoluteY: 575
+          width: 260
+          items:
+            - !image
+              maxWidth: 260
+              maxHeight: 184
+              url: '${configDir}/../images/white.png'
+
         # Title of the map
         - !columns
-          absoluteX: 612
+          absoluteX: 562
           absoluteY: 575
-          width: 200
+          width: 250
           condition: mapTitle
           items:
             - !text
               text: '${mapTitle}'
-#              align: center
-#            cells:
-#              padding: 5
+
         # The Stamp
         - !columns
-          absoluteX: 612
+          absoluteX: 562
           absoluteY: 555
-          width: 200
+          width: 250
         #  config:
         #    borderWidthLeft: 5
         #    borderWidthRight: 5

http://dive4elements.wald.intevation.org