为操作指令增加了数据库写入代码

This commit is contained in:
zjk
2025-02-18 18:46:17 +08:00
parent a179789b3f
commit 7dac85505b
8 changed files with 324 additions and 44 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class logWin(Frame):
def __init__(self, root):
super().__init__(root)
self.root = root
custom_font = font.Font(family="Arial", size=12, weight="normal")
custom_font = font.Font(family="Arial", size=8)
# 设置 state 为 tk.DISABLED 禁用编辑功能
self.text_box = tk.Text(root, height=10, width=50, font=custom_font, state=tk.DISABLED)