If you want to make the widgets as wide as the parent widget, you have to use the fill=X option: import tkinter as tk root = tk.Tk() w = tk.Label(root ...
確定! 回上一頁