1
我有以下按鈕:多行Tkinter按鈕?
option1=tkinter.Button(opt1,text='this is a test to see how many words we can fit in a button and stuff so heres some more words',width=49,height=3,bg='grey',)
這使得其具有話see how many words we can fit in a button and stuff so heres som
的按鈕。
我希望文本向下移動到下一行而不是按下按鈕的一側。
另外,我該如何讓文本不居中?
python 3.3.3。
您可以使用相同的命令創建兩個按鈕,一個在另一個上方,但寫入不同,這將顯示爲一個按鈕。 – W1ll1amvl 2014-10-01 01:45:36