From 78aae3de62abbb1821dd22812956977949882e86 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Mon, 14 Aug 2023 14:10:15 -0700 Subject: [PATCH] Improve box styling --- dyesub-tool/src/main.rs | 2 +- dyesub-tool/templates/document.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dyesub-tool/src/main.rs b/dyesub-tool/src/main.rs index ad15235..ba9def8 100644 --- a/dyesub-tool/src/main.rs +++ b/dyesub-tool/src/main.rs @@ -54,7 +54,7 @@ fn main() -> Result<(), Error> { }; let box_size = SVGMeasure::new(14.0, SVGUnit::Millimeter); let boxes = 54; - let padding = SVGMeasure::new(5.0, SVGUnit::Millimeter); + let padding = SVGMeasure::new(2.5, SVGUnit::Millimeter); let document = DocumentTemplate { positions: positions(box_size, padding, &dimensions, boxes), dimensions, diff --git a/dyesub-tool/templates/document.xml b/dyesub-tool/templates/document.xml index 2f330cd..7804fe5 100644 --- a/dyesub-tool/templates/document.xml +++ b/dyesub-tool/templates/document.xml @@ -1,8 +1,7 @@ - {% for (x, y) in positions %} - + {% endfor %}