From 631acab21c99afdf12292e43a030109c9fbac204 Mon Sep 17 00:00:00 2001 From: Heiko Joerg Schick Date: Mon, 10 Mar 2025 21:59:10 +0100 Subject: [PATCH] Minor position correction for DRAFT watermark --- src/taskpane/components/DraftButtons.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/taskpane/components/DraftButtons.tsx b/src/taskpane/components/DraftButtons.tsx index 71a3d952..67b77296 100644 --- a/src/taskpane/components/DraftButtons.tsx +++ b/src/taskpane/components/DraftButtons.tsx @@ -64,8 +64,8 @@ export const DraftButtons: React.FC = () => { const textBox = master.shapes.addTextBox(""); // textBox.left = 0; // Center it horizontally - textBox.left = -275 - textBox.top = -5; + textBox.left = -329 + textBox.top = 32; // textBox.width = 960; textBox.width = 2400; textBox.height = 540; @@ -94,7 +94,7 @@ export const DraftButtons: React.FC = () => { // Set font properties exactly as in the VBA code textBox.textFrame.textRange.font.name = "Inter"; // textBox.textFrame.textRange.font.size = 256; - textBox.textFrame.textRange.font.size = 64; + textBox.textFrame.textRange.font.size = 54; textBox.textFrame.textRange.font.bold = true; textBox.textFrame.verticalAlignment = "MiddleCentered"