From: Simon Forman Date: Sun, 10 May 2020 17:35:42 +0000 (-0700) Subject: Set the font on the listbox. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=48e04626100d03eb382c3e4a06bd1a72c2c60259;p=joypy%2FThun.git Set the font on the listbox. --- diff --git a/joy/gui/main.py b/joy/gui/main.py index 8d5aa1f..88eabcc 100755 --- a/joy/gui/main.py +++ b/joy/gui/main.py @@ -159,7 +159,7 @@ FONT = get_font('Iosevka', size=14) # Requires Tk root already set up. stack_window = tk.Toplevel() stack_window.title("Stack") stack_window.protocol("WM_DELETE_WINDOW", log_window.withdraw) -stack_viewer = StackListbox(world, stack_window, items=[]) +stack_viewer = StackListbox(world, stack_window, items=[], font=FONT) stack_viewer.pack(expand=True, fill=tk.BOTH) world.set_viewer(stack_viewer)