gridのstickyをなくす
This commit is contained in:
parent
b704606dec
commit
d1cf551fd3
1 changed files with 1 additions and 1 deletions
|
@ -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_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 = 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 = customtkinter.CTkLabel(self.cover_frame, image=self.cover_img, text="")
|
||||||
self.cover_img_label.grid(row=0, column=0, padx=0, pady=0)
|
self.cover_img_label.grid(row=0, column=0, padx=0, pady=0)
|
||||||
|
|
Loading…
Reference in a new issue