fix: 优化GUI布局 — 最近文件高度增加、设置对话框改为双列

- 最近文件列表框高度 12→20(增加 2/3)
- 系统设置对话框从 560x680 单列改为 700x460 双列布局
- 设置项分为 3 个区块:基本设置、API设置、云端同步
- 保存按钮始终可见,无需滚动

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-04 20:17:22 +08:00
parent e4d62df7e3
commit 3c25a1bf4d
2 changed files with 93 additions and 79 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ def _create_recent_files_section(parent, theme, log_text):
recent_rect = tk.Frame(recent_top, bg=theme["card_bg"], highlightbackground=theme["border"], highlightthickness=1)
recent_rect.pack(fill=tk.BOTH, expand=True)
recent_list = tk.Listbox(recent_rect, height=12)
recent_list = tk.Listbox(recent_rect, height=20)
recent_scrollbar = tk.Scrollbar(recent_rect)
recent_list.configure(yscrollcommand=recent_scrollbar.set)
recent_scrollbar.configure(command=recent_list.yview)