How do I change button size in Python?

前端 未结 2 1613
别跟我提以往
别跟我提以往 2020-12-16 10:16

I am doing a simple project in school and I need to make six different buttons to click on. The buttons must have different sizes, but I can\'t find how do do it. I have mad

2条回答
  •  情书的邮戳
    2020-12-16 10:37

    I've always used .place() for my tkinter widgets. place syntax

    You can specify the size of it just by changing the keyword arguments!

    Of course, you will have to call .place() again if you want to change it.

    Works in python 3.8.2, if you're wondering.

提交回复
热议问题