From 4d395c27364bd5171a1fe31981a83266a69676e9 Mon Sep 17 00:00:00 2001 From: Steven Brown Date: Thu, 12 Oct 2017 12:05:24 +1300 Subject: [PATCH] fix? --- display_centre.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display_centre.py b/display_centre.py index d87209b..1c2d47d 100644 --- a/display_centre.py +++ b/display_centre.py @@ -19,7 +19,7 @@ logger = data_centre.setup_logging() tk = Tk() # tk.withdraw() canvas = Canvas(tk, width=500, height=400, bd=0, highlightthickness=0) -canvas.pack() +canvas.pack(fill=BOTH, expand=YES) wid = canvas.winfo_id() os.system('xterm -into %d -geometry 40x20 -sb &' % wid)