Skip to content

Commit

Permalink
Center ok button in add_link
Browse files Browse the repository at this point in the history
  • Loading branch information
j4321 committed Sep 6, 2017
1 parent 3f5a2a1 commit 9b5695e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mynoteslib/sticky.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def ok(eveny=None):
text.grid(row=1, column=1, sticky="ew", padx=4, pady=4)
Button(top, image=self.im_clip, padding=0,
command=local_file).grid(row=0, column=2, padx=4, pady=4)
Button(top, text="Ok", command=ok).grid(row=2, columnspan=2, padx=4, pady=4)
Button(top, text="Ok", command=ok).grid(row=2, columnspan=3, padx=4, pady=4)

link.focus_set()
text.bind("<Return>", ok)
Expand Down

0 comments on commit 9b5695e

Please sign in to comment.