Skip to content

Commit

Permalink
Update editor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonZhang2024 committed Apr 26, 2024
1 parent 8a232ae commit 0c68cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def new_file():
menubar.add_command(label='Preview', command=load_preview)

global text
text = scrolledtext.ScrolledText(editor, undo=True)
text = scrolledtext.ScrolledText(editor, undo=True, font='Consolas')
text.pack(fill='both', expand=True)
text.focus_set()

Expand Down
3 changes: 2 additions & 1 deletion src/get_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def show_project_info():
"""
info_page = tkinter.Tk()
info_page.title('About')
label = ttk.Label(info_page, text='tkMarker')
info_page.config(cursor='star')
label = ttk.Label(info_page, text='tkMarker\nA Markdown editor using tkinter')
label.pack()

github_repos = ttk.Button(
Expand Down

0 comments on commit 0c68cb3

Please sign in to comment.