From 9011ae04fa4a4ae98b1c5e33e46eb9a175684435 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Fri, 2 Jun 2023 18:59:03 +0530 Subject: [PATCH] feat: update display to use set size --- src/pages/PrintView/PrintView.vue | 2 ++ src/pages/TemplateBuilder/PrintContainer.vue | 5 ++++- src/pages/TemplateBuilder/ScaledContainer.vue | 16 ++++++++-------- src/pages/TemplateBuilder/SetPrintSize.vue | 13 +++++++++++++ src/pages/TemplateBuilder/TemplateBuilder.vue | 2 ++ 5 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/pages/PrintView/PrintView.vue b/src/pages/PrintView/PrintView.vue index 3ae93d49..4d668a0d 100644 --- a/src/pages/PrintView/PrintView.vue +++ b/src/pages/PrintView/PrintView.vue @@ -38,6 +38,8 @@ :template="printProps.template" :values="printProps.values" :scale="scale" + :width="templateDoc?.width" + :height="templateDoc?.height" /> diff --git a/src/pages/TemplateBuilder/PrintContainer.vue b/src/pages/TemplateBuilder/PrintContainer.vue index 6f656efd..a94ede96 100644 --- a/src/pages/TemplateBuilder/PrintContainer.vue +++ b/src/pages/TemplateBuilder/PrintContainer.vue @@ -1,6 +1,8 @@