更新时间:2022-12-30 08:51:53
在创建标签时,尝试将width=200
作为附加参数传递.
Try passing width=200
as additional paramater when creating the Label.
这应该可以创建具有指定宽度的标签.
This should work in creating label with specified width.
如果您以后想要更改,可以使用:
If you want to change it later, you can use:
label.config(width=200)
要更改字体本身的大小,可以尝试:
As you want to change the size of font itself you can try:
label.config(font=("Courier", 44))