From 4640a4061de11e51c6add3317db25a4b0c3ed2b3 Mon Sep 17 00:00:00 2001 From: samerbam Date: Wed, 23 Aug 2023 09:09:31 -0400 Subject: [PATCH] fix alignment --- application/thermal_print.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/thermal_print.py b/application/thermal_print.py index 44487c9..db78683 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -107,13 +107,14 @@ class ThermalPrinter(): w = WordSearch(','.join(words), 32, 16) self.p.set(align="left") - self.p.text("Word Search:") - self.p.text("\n") + self.p.text("Word Search:" + "\n") + self.p.text("\n\n") self.p.set(align="center") for x in w.grid: self.p.text(''.join(x) + "\n") + self.p.set(align="left") self.p.text("\nWords: \n") wwords = textwrap.wrap(' '.join(words), 32) for word in wwords: