gridのstickyをなくす

This commit is contained in:
suti7yk5032 2024-10-01 15:49:48 +09:00
parent b704606dec
commit d1cf551fd3

View file

@ -268,7 +268,7 @@ class Lock(customtkinter.CTkToplevel):
self.cover_img = customtkinter.CTkImage(light_image=Image.open(resource_path + '\\cover\\dislocker_light.png'), dark_image=Image.open(resource_path + '\\cover\\dislocker_dark.png'), size=(160, 320))
self.cover_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent')
self.cover_frame.grid(row=0, column=0, padx=0, pady=0, sticky="nsew")
self.cover_frame.grid(row=0, column=0, padx=0, pady=0)
self.cover_img_label = customtkinter.CTkLabel(self.cover_frame, image=self.cover_img, text="")
self.cover_img_label.grid(row=0, column=0, padx=0, pady=0)