[Dive4elements-commits] [PATCH 6 of 7] Draw stamp on white background and some layout improvements

Wald Commits scm-commit at wald.intevation.org
Thu Apr 18 11:42:30 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1366278052 -7200
# Node ID b73de25c01b4e7e608810b9ab2df22d5a48d661b
# Parent  3e2ab854d5c0ef64bc97b2eb23ce994affbac807
Draw stamp on white background and some layout improvements

diff -r 3e2ab854d5c0 -r b73de25c01b4 flys-client/src/main/webapp/WEB-INF/config.yaml
--- 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


More information about the Dive4elements-commits mailing list