fix alignment
This commit is contained in:
parent
0301e35c08
commit
4640a4061d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user