Commit 1614614c by BellCodeEditor

save project

parent c0186725
Showing with 2 additions and 2 deletions
......@@ -6,7 +6,7 @@ alist = ["星期六下午打篮球", "星期天下午和小美一起看电影",
class Note(): # 便签、笔记
def __init__(self):
self.root = tkinter.Tk()
self.root.geometry('300x340+100+200')
self.root.geometry('300x340+400+200')
self.root.title("我的便签-待办事项")
self.root.resizable(width=False, height=False)
self.bjtp=tkinter.PhotoImage(file="bg.png")
......@@ -25,7 +25,7 @@ class Note(): # 便签、笔记
self.but.place(x=240, y=305)
self.y=20
for i in alist:
self.canvas.create_text(40,self.y,text=i,font=("楷书",11),anchor=W,fill="#Ff2424")
self.canvas.create_text(40,self.y,text=i,font=("宋体",11),anchor=W,fill="red")
self.y+=30
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment