From b040b5e242273ee4f66808ade9e0569fa1288d65 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 22 Mar 2015 15:13:05 +0200 Subject: [PATCH] Fixed problem with line wrapping --- public/built.js | 4 ++-- public/js/script.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/built.js b/public/built.js index 4d3649814b04..a07bb5754085 100644 --- a/public/built.js +++ b/public/built.js @@ -31565,7 +31565,7 @@ function GetPdf(invoice, javascript){ footerLeft: 420, tablePadding: 12, tableTop: 250, - descriptionLeft: 162, + descriptionLeft: 150, unitCostRight: 410, qtyRight: 480, taxRight: 480, @@ -32752,7 +32752,7 @@ function displayInvoiceItems(doc, invoice, layout) { SetPdfColor('Black', doc); doc.setFontType('normal'); - var splitDescription = doc.splitTextToSize(notes, 180); + var splitDescription = doc.splitTextToSize(notes, 190); doc.text(layout.descriptionLeft, y+2, splitDescription); doc.text(costX, y+2, cost); if (!hideQuantity) { diff --git a/public/js/script.js b/public/js/script.js index 9c930d82300c..eecfa9302546 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -42,7 +42,7 @@ function GetPdf(invoice, javascript){ footerLeft: 420, tablePadding: 12, tableTop: 250, - descriptionLeft: 162, + descriptionLeft: 150, unitCostRight: 410, qtyRight: 480, taxRight: 480, @@ -1229,7 +1229,7 @@ function displayInvoiceItems(doc, invoice, layout) { SetPdfColor('Black', doc); doc.setFontType('normal'); - var splitDescription = doc.splitTextToSize(notes, 180); + var splitDescription = doc.splitTextToSize(notes, 190); doc.text(layout.descriptionLeft, y+2, splitDescription); doc.text(costX, y+2, cost); if (!hideQuantity) {