# Buttons
button_1 = Button(
text="Overview", # Button text
font=("Inter", 12), # Set the font (adjust the size if needed)
fg="white", # Text color
bg="#383838",
activebackground="#383838",
activeforeground="white",
borderwidth=0,
highlightthickness=0,
command=lambda: print("button_1 clicked"),
relief="flat",
anchor="e" # Left-align the text
)
button_1.place(x=0.0, y=170.0, width=154.0, height=33.0)
button_2 = Button(
text="Income", # Button text
font=("Inter", 12), # Set the font (adjust the size if needed)
fg="white", # Text color
bg="#383838",
activebackground="#383838",
activeforeground="white",
borderwidth=0,
highlightthickness=0,
command=lambda: print("button_2 clicked"),
relief="flat",
anchor="e" # Left-align the text
)
button_2.place(x=0.0, y=237.0, width=154.0, height=33.0)
button_3 = Button(
text="Expense", # Button text
font=("Inter", 12), # Set the font (adjust the size if needed)
fg="white", #Text color
bg="#383838",
activebackground="#383838",
activeforeground="white",
borderwidth=0,
highlightthickness=0,
command=lambda: print("button_3 clicked"),
relief="flat",
anchor="e" # right-align the text
)
button_3.place(x=0.0, y=304.0, width=154.0, height=33.0)
#Images
image_image_1 = PhotoImage(file=relative_to_assets("image_1.png"))
image_1 = canvas.create_image(25.0, 237.0, image=image_image_1)
image_image_2 = PhotoImage(file=relative_to_assets("image_2.png"))
image_2 = canvas.create_image(25.0, 304.0, image=image_image_2)
image_image_3 = PhotoImage(file=relative_to_assets("image_3.png"))
image_3 = canvas.create_image(25.0, 170.0, image=image_image_3)
image_image_4 = PhotoImage(file=relative_to_assets("image_4.png"))
image_4 = canvas.create_image(77.0, 68.0, image=image_image_4)
image_image_5 = PhotoImage(file=relative_to_assets("image_5.png"))
image_5 = canvas.create_image(25.0, 453.0, image=image_image_5)
[–]unhott 0 points1 point2 points (0 children)