Commit f292af73 by BellCodeEditor

save project

parent 1c662489
Showing with 3 additions and 3 deletions
...@@ -20,10 +20,10 @@ lab = tkinter.Label(root, text='Hello!Pleace enter your log in information.', ...@@ -20,10 +20,10 @@ lab = tkinter.Label(root, text='Hello!Pleace enter your log in information.',
lab.place(x=0,y=0) lab.place(x=0,y=0)
# 在输入框前展示文字标签:用户名:、密 码:、确认密码: # 在输入框前展示文字标签:用户名:、密 码:、确认密码:
l1=tkinter.Label(root,text='Username:',font=('宋体',15),fg='red',width=9,height=2,bg='light blue') l1=tkinter.Label(root,text='Username:',font=('宋体',15),fg='red',width=9,height=2,bg='light blue')
l1.place(x=50,y=80) l1.place(x=40,y=80)
l2=tkinter.Label(root,text='Password:',font=('宋体',15),fg='yellow',width=9,height=2,bg='light blue') l2=tkinter.Label(root,text='Password:',font=('宋体',15),fg='yellow',width=9,height=2,bg='light blue')
l2.place(x=50,y=140) l2.place(x=40,y=140)
l3=tkinter.Label(root,text='Confirm password:',font=('宋体',10),fg='blue',width=17,height=2,bg='light blue') l3=tkinter.Label(root,text='Confirm password:',font=('宋体',10),fg='blue',width=17,height=2,bg='light blue')
l3.place(x=0,y=200) l3.place(x=10,y=200)
# 保持窗口监听,进入消息循环 # 保持窗口监听,进入消息循环
root.mainloop() root.mainloop()
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