Commit e37f2481 by BellCodeEditor

save project

parent b70f9071
Showing with 3 additions and 1 deletions
......@@ -34,7 +34,9 @@ class Note(): # 便签、笔记
alist.append(info)
self.canvas.create_text(40,self.y,text=info,font=("宋体",11),anchor='w',fill="#FF9900")
self.y += 30
if len(info) > 15:
self.canvas.create_text(40,self.y,text=info[15:-1],font=("宋体",11),anchor='w',fill="#FF9900")
self.y += 30
app = Note()
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