Home Forums Support Custom Template Design – the name breaks into 2 lines

This topic contains 0 replies, has 1 voice, and was last updated by  danich 6 days, 15 hours ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24729

    danich
    Participant

    Dear all,

    I’m trying to set up a customized invoice design. One last thing doesn’t work… the name of the customer (ex. “John Long-name”) is always splittet into 2 lines. How can I avoid that?

    
      {
        "table": {
          "headerRows": 1,
          "widths": [
            "auto",
            "auto",
            "*"
          ],
          "body": [
            [
              {
                "stack": [
                  "$client.name",
                  "$client.address1"
                ]
              },
              {
                "table": {
                  "body": "$invoiceDetails"
                },
                "margin": [
                  214,
                  0,
                  12,
                  0
                ],
                "layout": "noBorders"
              },
              {
                "text": ""
              }
            ]
          ]
        },
        "layout": {
          "hLineWidth": "$firstAndLast:.5",
          "vLineWidth": "$none",
          "hLineColor": "white",
          "paddingLeft": "$amount:8",
          "paddingRight": "$amount:8",
          "paddingTop": "$amount:6",
          "paddingBottom": "$amount:6"
        }
      },
     
      {
        "columns": [
          {
            "text": [
              "$client.postalCode ",
              "$client.city"
            ]
          }
        ],
        "margin": [
          9,
          -42,
          0,
          0
        ],
        "fontSize": "$fontSizeLarger"
      },
    
    

    Thank you very much for your help.

    Regards,

    Daniel

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Posted in: