Skip to content

Commit

Permalink
Update tchMaterial-parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wuziqian211 authored Aug 23, 2023
1 parent 3a2429b commit 631111c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions releases/v1.3/tchMaterial-parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def download():

# 创建一个容器框架
container_frame = ttk.Frame(root)
container_frame.pack(anchor="center",expand="yes", padx=int(20 * scale), pady=int(20 * scale)) # 容器的中心位置放置,允许组件在容器中扩展,水平外边距40,垂直外边距40
container_frame.pack(anchor="center", expand="yes", padx=int(20 * scale), pady=int(20 * scale)) # 容器的中心位置放置,允许组件在容器中扩展,水平外边距40,垂直外边距40

title_label = ttk.Label(container_frame, text="国家中小学智慧教育平台 电子课本解析", font=("微软雅黑", 16, "bold")) # 添加标题标签
title_label.pack(pady=int(5 * scale)) # 设置垂直外边距(跟随缩放)
Expand All @@ -164,4 +164,4 @@ def download():
copy_btn = ttk.Button(container_frame, text="解析并复制", command=parseAndCopy) # 添加“解析并复制”按钮
copy_btn.pack(side="right", padx=int(40 * scale), pady=int(5 * scale), ipady=int(5 * scale)) # 设置水平外边距、垂直外边距(跟随缩放),设置按钮高度(跟随缩放)

root.mainloop() # 开始主循环
root.mainloop() # 开始主循环

0 comments on commit 631111c

Please sign in to comment.