From e48a0fc3c2af8f86a89088b8affddbd62787120d Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Thu, 25 Jul 2024 21:32:08 +0900 Subject: [PATCH] =?UTF-8?q?PC=E7=95=AA=E5=8F=B7=E3=82=92=E3=82=82=E3=81=A3?= =?UTF-8?q?=E3=81=A8=E5=A4=A7=E3=81=8D=E3=81=8F=E8=A1=A8=E7=A4=BA=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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")