Adding a label containing an image to a tk.Frame causes the frame to dissapear entirely, idk why.
Specific snippet code:
image1 = Image.open("qr_code\\qr_code.png")
image1.resize((250, 250))
self.test = ImageTk.PhotoImage(image1)
label1 = tk.Label(self.right, image=self.test, width=250, height=250)
label1.pack(padx=0.1, pady=0.1, fill="none")
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.