Set the font on the listbox.

This commit is contained in:
Simon Forman 2020-05-10 10:35:42 -07:00
parent d280649be3
commit 48e0462610
1 changed files with 1 additions and 1 deletions

View File

@ -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)