Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
junjieim committed Mar 16, 2021
1 parent 262febe commit c5fc7a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
YJK 批量压缩工具
12 changes: 9 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

# check box
lf_check = LabelFrame(root, text="打包类型")
lf_check.grid(row=0, column=0, padx=10)
check_box1 = Checkbutton(lf_check,
text="衬图",
variable=check_lst[0],
Expand All @@ -38,7 +37,6 @@

# select button frame
lf_select_btn = LabelFrame(root, text="工程选择")
lf_select_btn.grid(row=1, column=0, sticky=E+W, padx=10)


# select button
Expand Down Expand Up @@ -76,7 +74,6 @@ def submit():
submit_txt = StringVar()
submit_txt.set("压缩选中的YJK工程文件")
submit_btn = Button(root, textvariable=submit_txt, command=submit)
submit_btn.grid(row=2, column=0, sticky=E+W, padx=10, pady=10)


# drag and drop
Expand All @@ -94,4 +91,13 @@ def dnd(dnd_files):

windnd.hook_dropfiles(root, func=dnd)

# status bar
status_bar = Label(root, text="https://github.com/SnVuamll/YJKzip", bd=1, relief=SUNKEN, anchor=W)

# grid config
lf_check.grid(row=0, column=0, padx=10)
lf_select_btn.grid(row=1, column=0, sticky=E+W, padx=10)
submit_btn.grid(row=2, column=0, sticky=E+W, padx=10, pady=10)
status_bar.grid(row=3, sticky=E+W)

root.mainloop()

0 comments on commit c5fc7a4

Please sign in to comment.