improved button resize performance, no deleting of canvas components, just position changes

This commit is contained in:
Tom Schimansky
2021-11-07 00:01:17 +01:00
parent a6e8e52710
commit 63df9c296b
2 changed files with 147 additions and 118 deletions

View File

@@ -58,7 +58,7 @@ class App(tkinter.Tk):
text="CTkButton",
command=self.button_event,
border_width=2,
corner_radius=0)
corner_radius=10)
self.button_1.place(relx=0.5, y=50, anchor=tkinter.CENTER)
self.button_2 = customtkinter.CTkButton(master=self.frame_left,