我想将我的文字向左对齐,但anchor='w'
似乎不起作用......有什么提示吗?
from tkinter import Tk, Label
window = Tk()
lab = Label(window, text = 'hey', anchor='w')
lab2 = Label(window, text='hellooooooo', anchor='w')
lab.grid(column=0, row=0)
lab2.grid(column=0, row=1)
window.mainloop()