Fix modern alignment

This commit is contained in:
Hillel Coren 2016-11-20 20:03:05 +02:00
parent 3c5ecd57f4
commit 27ad5d03b8

View File

@ -14,7 +14,7 @@
] ]
}, },
{ {
"style": "invoiceLineItemsTable", "style": "invoiceLineItemsTable",
"table": { "table": {
"headerRows": 1, "headerRows": 1,
"widths": "$invoiceLineItemColumns", "widths": "$invoiceLineItemColumns",
@ -25,12 +25,12 @@
"vLineWidth": "$notFirstAndLastColumn:.5", "vLineWidth": "$notFirstAndLastColumn:.5",
"hLineColor": "#888888", "hLineColor": "#888888",
"vLineColor": "#FFFFFF", "vLineColor": "#FFFFFF",
"paddingLeft": "$amount:8", "paddingLeft": "$amount:8",
"paddingRight": "$amount:8", "paddingRight": "$amount:8",
"paddingTop": "$amount:8", "paddingTop": "$amount:8",
"paddingBottom": "$amount:8" "paddingBottom": "$amount:8"
} }
}, },
{ {
"columns": [ "columns": [
"$notesAndTerms", "$notesAndTerms",
@ -42,10 +42,10 @@
"layout": { "layout": {
"hLineWidth": "$none", "hLineWidth": "$none",
"vLineWidth": "$none", "vLineWidth": "$none",
"paddingLeft": "$amount:34", "paddingLeft": "$amount:34",
"paddingRight": "$amount:8", "paddingRight": "$amount:8",
"paddingTop": "$amount:4", "paddingTop": "$amount:4",
"paddingBottom": "$amount:4" "paddingBottom": "$amount:4"
} }
} }
] ]
@ -58,7 +58,7 @@
"type": "rect", "type": "rect",
"x": 0, "x": 0,
"y": 0, "y": 0,
"w": 532, "w": 515,
"h": 26, "h": 26,
"r": 0, "r": 0,
"lineWidth": 1, "lineWidth": 1,
@ -96,7 +96,7 @@
"footer": [ "footer": [
{ {
"canvas": [ "canvas": [
{ {
"type": "line", "x1": 0, "y1": 0, "x2": 600, "y2": 0,"lineWidth": 100,"lineColor":"$primaryColor:#f26621" "type": "line", "x1": 0, "y1": 0, "x2": 600, "y2": 0,"lineWidth": 100,"lineColor":"$primaryColor:#f26621"
}] }]
,"width":10 ,"width":10
@ -141,9 +141,9 @@
}, },
{ {
"width": 300, "width": 300,
"table": { "table": {
"body": "$invoiceDetails" "body": "$invoiceDetails"
}, },
"layout": "noBorders", "layout": "noBorders",
"margin": [400, -40, 0, 0] "margin": [400, -40, 0, 0]
} }
@ -177,7 +177,7 @@
}, },
"invoiceLineItemsTable": { "invoiceLineItemsTable": {
"margin": [0, 0, 0, 16] "margin": [0, 0, 0, 16]
}, },
"productKey": { "productKey": {
"bold": true "bold": true
}, },
@ -201,7 +201,7 @@
}, },
"lineTotalTableHeader": { "lineTotalTableHeader": {
"alignment": "right" "alignment": "right"
}, },
"balanceDueLabel": { "balanceDueLabel": {
"fontSize": "$fontSizeLargest", "fontSize": "$fontSizeLargest",
"color":"#FFFFFF", "color":"#FFFFFF",
@ -228,7 +228,7 @@
}, },
"subtotals": { "subtotals": {
"alignment": "right" "alignment": "right"
}, },
"termsLabel": { "termsLabel": {
"bold": true, "bold": true,
"margin": [0, 0, 0, 4] "margin": [0, 0, 0, 4]