0
I want to erase this edge that’s around Canvas, but I can’t find which attribute determines its existence.
Could someone help me?
The code:
class Tela():
def __init__(self, resolucao:str):
self.inst = Tk()
self.inst['bg'] = 'black'
self.inst['relief'] = 'flat'
resolucao = resolucao.split('x')
print(resolucao)
self.canvas = Canvas(self.inst, background='black', bd=0
, width=int(resolucao[0]), height=int(resolucao[1])-100)
self.canvas.pack()
self.inst.mainloop()
Tela('640x480')
experiment:
self.canvas = Canvas(self.inst, background='black', bd=0, width=int(resolucao[0]), height=int(resolucao[1])-100,highlightthickness=0)
– Miguel
It worked, thanks
– budes