如何更改此消息框出现的窗口大小?我自己制作了这个盒子,允许我将选项更改为"谢谢"。
到目前为止,这是我的代码:
def messageWindow():
win = Toplevel()
win.title('warning')
message = "This will delete stuff"
Label(win, text=message).pack()
Button(win, text='Thanks!', command=win.destroy).pack()