python tkinter
请问python的tkinter.Text组件怎么样才能跟随窗口大小而改变?tkinter小白求解答{:10_254:} 给个例子:from tkinter import *
root = Tk()
text = Text(root, height=25, width=40)
text.place(relwidth=0.8, relheight=0.8)
mainloop()
可以参考:https://fishc.com.cn/forum.php?mod=viewthread&tid=61573&extra=page%3D1%26filter%3Dtypeid%26typeid%3D604
页:
[1]