#Quiz
4 messages · Page 1 of 1 (latest)
i can send the code if u would like
You've gotta give code. No one knows what you're doing incorrectly from these pictures
from tkinter import *
root=Tk()
# Adding width and height for the window
root.geometry('1920x1080')
#Giving the window a title
root.title('Mathematical Quiz Game')
# Giving the window background a black color
root.config(bg='black')
leftframe=Frame(root, bg='black', padx=90)
leftframe.grid(row=0, column=0)
rightframe=Frame(root)
rightframe.grid(row=0, column=1)
topframe=Frame(leftframe, bg='black', pady=15)
topframe.grid(row=0, column=0)
centerframe=Frame(leftframe, bg='black', pady=15)
centerframe.grid(row=1, column=0)
bottomframe=Frame(leftframe)
bottomframe.grid(row=3, column=0)
centerImage=PhotoImage(file='img.png')
logoLabel=Label(centerframe,image=centerImage, bg='black', width=500, height=500)
logoLabel.grid(row=0,column=0)
layoutImage=PhotoImage(file='layout.png')
layoutLabel=Label(bottomframe, image=layoutImage, bg='black')
layoutLabel.grid(row=0, column=0)
root.mainloop()