Hi, how cqan i change the page margins or the margins in the header ?
now the header text is really at the top left of the page and when printing it’s not printed full because printmargins are larger
You can use a custom design and increase the values in the ‘Margins’ tab.
That’s not working for the text in the header section
it’s only for the content
If you’ve defined a header you can add a margin property to it.
problem is that it isn’t working
if i change 150,0,0,0 to 150,10,0,0 the text is disappeared
{
"columns": [
{
"image": "$accountLogo",
"fit": [
180,
120
]
},
{
"text": "FACTUUR",
"font": "$headerFont",
"fontSize": 30,
"color": "#BFBFBF",
"bold": true,
"margin": [
150,
0,
0,
0
]
}
]
}
The margin in your example is only being applied to the text, I think you need to add a margin to the entire header.
{
"columns": [
{
"image": "$accountLogo",
"fit": [
180,
120
]
},
{
"text": "FACTUUR",
"font": "$headerFont",
"fontSize": 30,
"color": "#BFBFBF",
"bold": true,
"margin": [
120,
0,
0,
0
]
}
],
"margin": [
20,
20,
20,
20
]
}
Still not working how can i upload a screenshot ?
for some reason the text is disappearing
You need to use an image sharing site.
When you say ‘text’ do you mean ‘FACTUUR’? You may need to adjust the margins, which design is your custom design based on?
Hi i am using the custom design
see screenshot
when i set margins for FACTUUR it’s disappearing Its like the header height isn’t enough
http://www.pureautomation.be/uploads/invoiceninja/invoiceheaderproblem.png
In the example I posted the header margins are all set to 20, if you increase them it will add more space around the text.
Note: you’ll also need to increase the second value in the ‘Margins’ tab to around 100 to 200 to make room for the header.
Thank you very much. Indeed the second value of the margin tab solved it.
Now i understand it how it’s working
Thanks
Great to hear, happy to help!