Skip to content

Commit bebafc2

Browse files
committed
Fixes #3598: legends size in printing layouts (#3599)
1 parent 3f910df commit bebafc2

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

resources/geoserver/print/config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ layouts:
8787
- !legends
8888
horizontalAlignment: left
8989
#iconMaxWidth: 150
90+
maxWidth: 150
9091
iconMaxHeight: 0
9192
layerSpace: 5
9293
layerFontSize: 12
@@ -191,6 +192,7 @@ layouts:
191192
- !legends
192193
horizontalAlignment: left
193194
#iconMaxWidth: 150
195+
maxWidth: 160
194196
iconMaxHeight: 0
195197
layerSpace: 5
196198
layerFontSize: 12
@@ -478,10 +480,10 @@ layouts:
478480
padding: 4
479481
backgroundColor: white
480482
vertAlign: bottom
481-
widths: [800]
483+
widths: [500]
482484
absoluteX: 30
483485
absoluteY: 800
484-
width: 800
486+
width: 500
485487
items:
486488
- !legends
487489
failOnBrokenUrl: false
@@ -490,7 +492,7 @@ layouts:
490492
iconMaxHeight: 700
491493
maxHeight: 750
492494
maxColumns: 1
493-
maxWidth: 800
495+
maxWidth: 500
494496
layerSpace: 5
495497
layerFontSize: 12
496498
classIndentation: 5
@@ -643,6 +645,7 @@ layouts:
643645
- !legends
644646
horizontalAlignment: left
645647
#iconMaxWidth: 150
648+
maxWidth: 240
646649
iconMaxHeight: 0
647650
layerSpace: 5
648651
layerFontSize: 12
@@ -747,6 +750,7 @@ layouts:
747750
- !legends
748751
horizontalAlignment: left
749752
#iconMaxWidth: 150
753+
maxWidth: 240
750754
iconMaxHeight: 0
751755
layerSpace: 5
752756
layerFontSize: 12
@@ -1149,7 +1153,7 @@ layouts:
11491153
iconMaxHeight: 700
11501154
maxHeight: 700
11511155
maxColumns: 3
1152-
maxWidth: 1200
1156+
maxWidth: 1000
11531157
layerSpace: 5
11541158
layerFontSize: 12
11551159
classIndentation: 5

0 commit comments

Comments
 (0)