Adjust maxPageWidth for PDFs
This commit is contained in:
parent
135851cf04
commit
8dfe0e38d1
|
|
@ -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',
|
||||
),
|
||||
|
|
|
|||
|
|
@ -689,7 +689,7 @@ class _PdfDesignPreviewState extends State<PdfDesignPreview> {
|
|||
allowPrinting: false,
|
||||
allowSharing: false,
|
||||
canDebug: false,
|
||||
maxPageWidth: 800,
|
||||
maxPageWidth: 600,
|
||||
)
|
||||
else
|
||||
SizedBox(),
|
||||
|
|
|
|||
|
|
@ -1352,7 +1352,7 @@ class __PdfPreviewState extends State<_PdfPreview> {
|
|||
allowSharing: false,
|
||||
canDebug: false,
|
||||
pages: [_currentPage - 1],
|
||||
maxPageWidth: 800,
|
||||
maxPageWidth: 600,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ class InvoiceEditPDFState extends State<InvoiceEditPDF> {
|
|||
allowPrinting: false,
|
||||
allowSharing: false,
|
||||
canDebug: false,
|
||||
maxPageWidth: 800,
|
||||
maxPageWidth: 600,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) +
|
||||
'_' +
|
||||
|
|
|
|||
|
|
@ -1380,7 +1380,7 @@ class _PdfPreviewState extends State<_PdfPreview> {
|
|||
canChangeOrientation: false,
|
||||
canChangePageFormat: false,
|
||||
canDebug: false,
|
||||
maxPageWidth: 800,
|
||||
maxPageWidth: 600,
|
||||
allowPrinting: false,
|
||||
allowSharing: false,
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue