Commit 574e9b65 by BellCodeEditor

save project

parent e996965e
Showing with 2 additions and 2 deletions
...@@ -29,7 +29,7 @@ class Note(): ...@@ -29,7 +29,7 @@ class Note():
self.y = 20 self.y = 20
for info in alist: for info in alist:
self.canvas.create_text(40,self.y,text=info,font=("宋体", 11), self.canvas.create_text(40,self.y,text=info,font=("宋体", 11),
anchor=W, fill='#FF9900') anchor=W, fill='red')
self.y += 30 self.y += 30
def get_info(self): def get_info(self):
...@@ -38,7 +38,7 @@ class Note(): ...@@ -38,7 +38,7 @@ class Note():
if info !="": if info !="":
self.ent.delete("0",END) self.ent.delete("0",END)
alist.append(info) alist.append(info)
self.canvas.create_text(40,self.y,text=info,font=("宋体", 11), anchor=W, fill='#FF9900') self.canvas.create_text(40,self.y,text=info,font=("宋体", 11), anchor=W, fill='red')
self.y += 30 self.y += 30
app = Note() app = Note()
app.show() app.show()
......
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