OSDN Git Service
(root)
/
joypy
/
Thun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d280649
)
Set the font on the listbox.
author
Simon Forman
<sforman@hushmail.com>
Sun, 10 May 2020 17:35:42 +0000
(10:35 -0700)
committer
Simon Forman
<sforman@hushmail.com>
Sun, 10 May 2020 17:35:42 +0000
(10:35 -0700)
joy/gui/main.py
patch
|
blob
|
history
diff --git
a/joy/gui/main.py
b/joy/gui/main.py
index
8d5aa1f
..
88eabcc
100755
(executable)
--- 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)