在下面代码中如何让lab2标签左对齐?
import tkinter as tk
window = tk.Tk()
window.title('3-37')
window.rowconfigure(1, weight=1)
window.columnconfigure(0, weight=1)
lab1 = tk.Label(window, text='label 1', bg='pink')
lab1.grid(row=0, column=0, padx=5, pady=5, sticky='w')
lab2 = tk.Label(window, text='label 2', bg='lightblue')
lab2.grid(row=0, column=1, padx=5, pady=5)
lab3 = tk.Label(window, bg='yellow')
lab3.grid(row=1, column=0, columnspan=2, padx=5, pady=5, sticky='nswe')
window.mainloop()
在lab2标签加上sticky='w’参数还是又对齐的,这个问题怎么解决?