mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fixed small scaling issues
This commit is contained in:
@@ -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))
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user