When I'm trying to locate images in 2 colomns, I get a space between them.
My docDefinition:
var dd = {
pageSize: 'A4',
pageOrientation: 'landscape',
pageMargins: [ 0, 0, 0, 0 ],
content: [
{
columns: [
{
width: 250,
alignment: 'left',
image: 'sampleImage.jpg',
margin: [0,0,0,0]
},{
width: 250,
alignment: 'left',
image: 'sampleImage.jpg',
margin: [0,0,0,0]
}
]
},
],
defaultStyle: {
columnGap: 0,
}
};
Result: result.
The most instesting is result on pdfmake.org/playground. That's OK. result2
What happens and how to fix it?