Skip to content

Commit

Permalink
added canvas to main day 85
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikerniker committed Oct 13, 2023
1 parent a65337c commit 7979611
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Day85/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
window = tkinter.Tk()
window.title("Mik's Watermark")
window.minsize(width=800, height=500)
window.config(padx=20, pady=20)

#Canvas
canvas = Canvas(width=650, height=450, highlightthickness=0)
burger_img = PhotoImage(file="hamburger.png")
canvas.create_image(100, 112, image=burger_img)
canvas.create_text(100, 130, fill="white", font=("Arial", 35, "bold"))
canvas.grid(column=0, row=0, columnspan=2)

#Label
my_label = tkinter.Label(text="Add Image to watermark", font=("Arial", 24, "bold"))
Expand Down

0 comments on commit 7979611

Please sign in to comment.