Skip to content

Commit 1ca2af4

Browse files
committed
fix label position
1 parent f2baa0e commit 1ca2af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Image-scrape-download/image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def showImage():
5858

5959
# Add labels and buttons
6060
my_label = HTMLLabel(root)
61-
my_label.pack(pady=20, padx=20)
6261

6362
search_box = Entry(root, font=("Helvetica 15"), bd = 2, width=60)
6463
search_box.pack(side = TOP, pady=5, padx=15, ipadx=5)
@@ -68,6 +67,7 @@ def showImage():
6867

6968
save_btn = ttk.Button(text="Download Image!",command=saveImage,style='my.TButton')
7069
save_btn.pack(side=TOP)
71-
70+
71+
my_label.pack(pady=20, padx=20)
7272
# Execute Tkinter
7373
root.mainloop()

0 commit comments

Comments
 (0)