grid () method and utilize the sticky= option. In addition, you will need to configure the row and column that the listbox resides in. import tkinter as tk root= ...
確定! 回上一頁