现在,左边的标签是左边的,然后有一个巨大的灰色区域,看起来不属于任何标签,最后中央和右边的标签被压碎在右边。有没有更好的方法来做这件事?from tkinter import *def create_buttons(): for x in range(6):
ttk.Button(bot_frame, width = 5, text = str(x) + ",
如何使用带有消息框标题的消息框在Tkinter中显示用户的输入?我正在使用不起作用的get方法,并通过在show info中传递一个同样不起作用的两个变量的名称来使用正常的方法。下面是我正在使用的代码。import tkinter as tkimport tkinter.messagebox as mbox
win.title('Pratice')
l