diff --git a/dislocker_client.py b/dislocker_client.py index 6219c19..ddfde4e 100644 --- a/dislocker_client.py +++ b/dislocker_client.py @@ -109,7 +109,7 @@ class Lock(customtkinter.CTkToplevel): self.title(f'{app_name} | PC番号 {client_config["pc_number"]} | ロックされています') self.window_width = 600 - self.window_height = 400 + self.window_height = 320 self.screen_width = self.winfo_screenwidth() self.screen_height = self.winfo_screenheight() self.center_x = int(self.screen_width/2 - self.window_width/2) @@ -123,11 +123,13 @@ class Lock(customtkinter.CTkToplevel): self.emoji_font = customtkinter.CTkFont(family="Segoe UI Emoji", size=32) self.title_font = customtkinter.CTkFont(family="meiryo", size=32, weight="bold") + self.pc_number_font = customtkinter.CTkFont(family="meiryo", size=64, weight="bold") self.title_small_font = customtkinter.CTkFont(family="meiryo", size=16) self.general_font = customtkinter.CTkFont(family="meiryo", size=18) self.general_small_font = customtkinter.CTkFont(family="meiryo", size=12) self.textbox_font = customtkinter.CTkFont(family="meiryo", size=14) self.button_font = customtkinter.CTkFont(family="meiryo", size=14) + self.msg_title_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent') self.msg_title_frame.grid(row=0, column=0, padx=10, pady=10, sticky="nsew") @@ -135,7 +137,7 @@ class Lock(customtkinter.CTkToplevel): 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.msg_title_1 = customtkinter.CTkLabel(self.msg_title_frame, text='ちょっと待って!!', font=self.title_font, justify="left") + self.msg_title_1 = customtkinter.CTkLabel(self.msg_title_frame, text=f'ちょっと待って!! PC番号 | {client_config["pc_number"]}', font=self.title_font, justify="left") self.msg_title_1.grid(row=0, column=1, padx=10, sticky="w") self.msg_title_2 = customtkinter.CTkLabel(self.msg_title_frame, text="本当にあなたですか?", font=self.title_small_font, justify="left")