fixed small scaling issues

This commit is contained in:
Tom Schimansky
2022-05-12 22:55:28 +02:00
parent d36cf416b7
commit b99f384241
25 changed files with 96 additions and 58 deletions

View File

@@ -25,9 +25,6 @@ class App(customtkinter.CTk):
self.maxsize(App.WIDTH, App.HEIGHT)
self.protocol("WM_DELETE_WINDOW", self.on_closing)
self.bind("<Command-q>", self.on_closing)
self.bind("<Command-w>", self.on_closing)
self.createcommand('tk::mac::Quit', self.on_closing)
# load image with PIL and convert to PhotoImage
image = Image.open(PATH + "/test_images/bg_gradient.jpg").resize((self.WIDTH, self.HEIGHT))

View File

@@ -61,4 +61,4 @@ button_5 = customtkinter.CTkButton(master=root_tk, image=add_user_image, text="A
command=button_function)
button_5.grid(row=0, column=1, padx=20, pady=20)
root_tk.mainloop()
root_tk.mainloop()