Changing ttk Button Height in Python

后端 未结 4 746
-上瘾入骨i
-上瘾入骨i 2020-12-15 23:15

This seems like a silly question, but is it possible to change the height of a ttk button manually?

Something like button = tkinter.Button(frame, text=\'hi\',

4条回答
  •  無奈伤痛
    2020-12-15 23:28

    self.btn = ttk.Button(window, text="LOGIN", width=20, command=self.validate)
    self.btn.place(x=435, y=300,width=230,height=50)
    

提交回复
热议问题