From c1e0677cf848954d67a16de746955e9c4c7524bc Mon Sep 17 00:00:00 2001 From: HONOR Date: Sun, 20 Sep 2026 10:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=97=A0=E5=AE=BD=E5=BA=A6=E7=9A=84=E6=8C=89=E9=92=AE=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6=E5=AF=BC=E8=87=B4=E7=9A=84=E5=88=97=E8=A2=AB=E5=BC=BA?= =?UTF-8?q?=E8=A1=8C=E6=92=91=E9=95=BF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/gui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/gui.py b/src/ui/gui.py index cf6a5a5..c6b1e02 100644 --- a/src/ui/gui.py +++ b/src/ui/gui.py @@ -143,14 +143,14 @@ class BatchTableExtractorApp: self.lbl_src = ttk.Label(path_box, text="来源目录:") self.lbl_src.grid(row=0, column=0, sticky=tk.W, pady=5) - ttk.Entry(path_box, textvariable=self.src_path_var).grid(row=0, column=1, sticky=tk.EW, padx=6) + ttk.Entry(path_box, textvariable=self.src_path_var, width=40).grid(row=0, column=1, sticky=tk.EW, padx=6) self.btn_browse_src = ProgressButton(path_box, text="选择...", command=self._browse_src, height=22, width=50) self.btn_browse_src.grid(row=0, column=2, sticky=tk.EW, padx=(0, 4)) self.btn_open_src = ProgressButton(path_box, text="打开", command=self._open_src_dir, height=22, width=40) self.btn_open_src.grid(row=0, column=3, sticky=tk.EW) ttk.Label(path_box, text="转换目录:").grid(row=1, column=0, sticky=tk.W, pady=5) - ttk.Entry(path_box, textvariable=self.out_dir_var, state="readonly").grid(row=1, column=1, sticky=tk.EW, padx=6) + ttk.Entry(path_box, textvariable=self.out_dir_var, width=40, state="readonly").grid(row=1, column=1, sticky=tk.EW, padx=6) self.btn_browse_out = ProgressButton(path_box, text="选择...", command=self._browse_out, height=22, width=50) self.btn_browse_out.grid(row=1, column=2, sticky=tk.EW, padx=(0, 4)) self.btn_open_out = ProgressButton(path_box, text="打开", command=self._open_out_dir, height=22, width=40) @@ -174,7 +174,7 @@ class BatchTableExtractorApp: cb_pdf.pack(side=tk.LEFT, fill=tk.X, expand=True) cb_pdf.bind("<>", _clear_combo_focus) - self.btn_view_log = ProgressButton(path_box, text="日志", command=self._show_log_window, height=22) + self.btn_view_log = ProgressButton(path_box, text="日志", command=self._show_log_window, height=22, width=94) self.btn_view_log.grid(row=2, column=2, columnspan=2, sticky=tk.EW) path_box.columnconfigure(1, weight=1)