レイアウト修正、カバー画像のパス修正
This commit is contained in:
parent
07742da1f5
commit
b704606dec
1 changed files with 3 additions and 3 deletions
|
@ -265,16 +265,16 @@ class Lock(customtkinter.CTkToplevel):
|
||||||
self.textbox_font = customtkinter.CTkFont(family="meiryo", size=14)
|
self.textbox_font = customtkinter.CTkFont(family="meiryo", size=14)
|
||||||
self.button_font = customtkinter.CTkFont(family="meiryo", size=14)
|
self.button_font = customtkinter.CTkFont(family="meiryo", size=14)
|
||||||
|
|
||||||
self.cover_img = customtkinter.CTkImage(light_image=Image.open(resource_path + '\\dislocker_light.png'), dark_image=Image.open(resource_path + '\\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=10, pady=10, sticky="nsew")
|
self.cover_frame.grid(row=0, column=0, padx=0, pady=0, sticky="nsew")
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
self.msg_title_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent')
|
self.msg_title_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent')
|
||||||
self.msg_title_frame.grid(row=1, column=0, padx=10, pady=10, sticky="nsew")
|
self.msg_title_frame.grid(row=0, column=1, padx=10, pady=10, sticky="nsew")
|
||||||
|
|
||||||
#self.icon_title_1 = customtkinter.CTkLabel(self.msg_title_frame, text='😎', font=self.emoji_font, justify="left")
|
#self.icon_title_1 = customtkinter.CTkLabel(self.msg_title_frame, text='😎', font=self.emoji_font, justify="left")
|
||||||
#self.icon_title_1.grid(row=0, column=0, padx=10, sticky="w")
|
#self.icon_title_1.grid(row=0, column=0, padx=10, sticky="w")
|
||||||
|
|
Loading…
Reference in a new issue