In Tkinter, How does padx differ when used as argument within a widget and an argument in the grid function?

后端 未结 0 510
遥遥无期
遥遥无期 2021-02-15 00:34
from tkinter import *
window = Tk()

x = Button(text="a", padx=20)
y = Button(text="aaaaa", padx=20)

x.grid(padx=20)
y.grid(padx=20)


window.mainlo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题