Adjust maxPageWidth for PDFs

This commit is contained in:
Hillel Coren 2023-11-08 16:13:01 +02:00
parent 135851cf04
commit 8dfe0e38d1
6 changed files with 6 additions and 6 deletions

View File

@ -462,7 +462,7 @@ class _ClientPdfViewState extends State<ClientPdfView> {
canChangeOrientation: false,
canChangePageFormat: false,
canDebug: false,
maxPageWidth: 800,
maxPageWidth: 600,
pdfFileName:
localization!.statement + '_' + client!.number + '.pdf',
),

View File

@ -689,7 +689,7 @@ class _PdfDesignPreviewState extends State<PdfDesignPreview> {
allowPrinting: false,
allowSharing: false,
canDebug: false,
maxPageWidth: 800,
maxPageWidth: 600,
)
else
SizedBox(),

View File

@ -1352,7 +1352,7 @@ class __PdfPreviewState extends State<_PdfPreview> {
allowSharing: false,
canDebug: false,
pages: [_currentPage - 1],
maxPageWidth: 800,
maxPageWidth: 600,
),
),
],

View File

@ -115,7 +115,7 @@ class InvoiceEditPDFState extends State<InvoiceEditPDF> {
allowPrinting: false,
allowSharing: false,
canDebug: false,
maxPageWidth: 800,
maxPageWidth: 600,
),
);
}

View File

@ -263,7 +263,7 @@ class _InvoicePdfViewState extends State<InvoicePdfView> {
canChangeOrientation: false,
canChangePageFormat: false,
canDebug: false,
maxPageWidth: 800,
maxPageWidth: 600,
pdfFileName:
localization.lookup(invoice.entityType!.snakeCase) +
'_' +

View File

@ -1380,7 +1380,7 @@ class _PdfPreviewState extends State<_PdfPreview> {
canChangeOrientation: false,
canChangePageFormat: false,
canDebug: false,
maxPageWidth: 800,
maxPageWidth: 600,
allowPrinting: false,
allowSharing: false,
),