-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
When I print the below code, the row items are not aligned to center with the column
printer.tableCustom(
[
{ text: "Tic tac 5", width: 0.4 },
{ text: "1, align: "CENTER", width: 0.1, style: 'b' },
{ text: "5", align: "CENTER", width: 0.166, style: 'b' },
{ text: "5", align: "CENTER", width: 0.166, style: 'b' },
{ text: "5", align: "CENTER", width: 0.166, style: 'b' }
],
[
{ text: "2 in 1 Agarbatti", width: 0.4 },
{ text: "1, align: "CENTER", width: 0.1, style: 'b' },
{ text: "15", align: "CENTER", width: 0.166, style: 'b' },
{ text: "15", align: "CENTER", width: 0.166, style: 'b' },
{ text: "30", align: "CENTER", width: 0.166, style: 'b' }
]
);
Metadata
Metadata
Assignees
Labels
No labels