Commit d0b02163 by BellCodeEditor

save project

parent a06a1693
Showing with 2 additions and 2 deletions
......@@ -32,9 +32,9 @@ class Note(): # 便签、笔记
self.ent.delete('0',END)
alist.append(q)
if len(q)>15:
self.canvas.create_text(40,self.y,text=q[0,16],font=('楷体',11),anchor='w',fill='#FF9900')
self.canvas.create_text(40,self.y,text=q[0:16],font=('楷体',11),anchor='w',fill='#FF9900')
self.y+=30
self.canvas.create_text(40,self.y,text=q[16,-1],font=('楷体',11),anchor='w',fill='#FF9900')
self.canvas.create_text(40,self.y,text=q[16:-1],font=('楷体',11),anchor='w',fill='#FF9900')
self.y+=30
else:
self.canvas.create_text(40,self.y,text=q,font=('楷体',11),anchor='w',fill='#FF9900')
......
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