pygui: updates to leverage tk provided constants for sticky configuration, instead of duplicate strings everywhere

This commit is contained in:
Blake Harnden 2020-08-02 10:36:14 -07:00
parent 2aeb119b04
commit f0bc3bbc99
40 changed files with 501 additions and 496 deletions

View file

@ -46,9 +46,9 @@ class AboutDialog(Dialog):
codetext = CodeText(self.top)
codetext.text.insert("1.0", LICENSE)
codetext.text.config(state=tk.DISABLED)
codetext.grid(sticky="nsew")
codetext.grid(sticky=tk.NSEW)
label = ttk.Label(
self.top, text="Icons from https://icons8.com", anchor=tk.CENTER
)
label.grid(sticky="ew")
label.grid(sticky=tk.EW)