Commit 0980433a by BellCodeEditor

save project

parent 77470f92
Showing with 4 additions and 4 deletions
...@@ -33,9 +33,9 @@ class Note(): # 便签、笔记 ...@@ -33,9 +33,9 @@ class Note(): # 便签、笔记
for info in alist: for info in alist:
self.canvas.create_text(40, self.y, text=info, self.canvas.create_text(40, self.y, text=info,
font=("宋体", 11), anchor=W, fill='#FF9900') font=("宋体", 11), anchor=W, fill='#FF9900')
self.rb = tkinter.Radiobutton(self.canvas,image = self.box,value = self.val,variable = self.v) self.rb = tkinter.Radiobutton(self.canvas,image = self.box,width = 25,height = 15,borderwidth = 0,value = self.val,variable = self.v)
self.val += 1 self.val += 1
self.rb.place(x=-30,y=self.y-15) self.rb.place(x=-20,y=self.y-10)
self.y += 30 self.y += 30
def get_info(self): def get_info(self):
...@@ -45,9 +45,9 @@ class Note(): # 便签、笔记 ...@@ -45,9 +45,9 @@ class Note(): # 便签、笔记
alist.append(info) alist.append(info)
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='#FF9900')
self.rb = tkinter.Radiobutton(self.canvas,image = self.box,value = self.val,variable = self.v) self.rb = tkinter.Radiobutton(self.canvas,image = self.box,width = 25,height = 15,borderwidth = 0,value = self.val,variable = self.v)
self.val += 1 self.val += 1
self.rb.place(x=-20,y=self.y-20) self.rb.place(x=-20,y=self.y-10)
self.y += 30 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