我試圖刪除與我的程序中的按鈕來的邊框。Python按鈕圖像邊框
我試着在Button()中添加bd = 0和highlightthickness = 0,但它不工作。
任何人都可以建議如何做到這一點?
當前的代碼示例:
self.highscore_button_image = ImageTk.PhotoImage(file="images/buttons/highscore.png")
highscore_button = Button(self.menu_window, bd=0, highlightthickness=0, image=self.highscore_button_image)
highscore_button.place(x=266, y=273)
按鈕:我想刪除白邊......它還配備了一個普通按鈕沒有圖像
Python版本:2.7.1 操作系統:Mac OSX Lion
此刻使用Tkinter ...
謝謝,我決定把它全部pygame的,而不是因爲我創建一個遊戲的GUI – Michael