Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson17-diy2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ff1d44a1
authored
Jul 14, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
7c8f2413
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
my_window.py
my_window.py
View file @
ff1d44a1
...
...
@@ -11,11 +11,11 @@ screen_numbers = tkinter.Entry(root,show='*',font=('宋体',14),bg='light grey',
screen_numbers
.
place
(
x
=
140
,
y
=
200
)
# 确认密码的坐标
lab
=
tkinter
.
Label
(
root
,
text
=
'您好!请填写注册信息'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
,
width
=
40
,
height
=
2
,
bg
=
"green"
)
# 设置提示
lab
.
place
(
x
=
0
,
y
=
0
)
# 提示坐标
text_name
=
tkinter
.
Label
(
root
,
text
=
'名字:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
,
width
=
40
,
height
=
2
,
bg
=
"light grey"
)
# 名字提示
text_name
=
tkinter
.
Label
(
root
,
text
=
'名字:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
)
# 名字提示
text_name
.
place
(
x
=
50
,
y
=
80
)
# 提示位置
text_number
=
tkinter
.
Label
(
root
,
text
=
'密码:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
,
width
=
40
,
height
=
2
,
bg
=
"light grey"
)
# 密码提示
text_number
=
tkinter
.
Label
(
root
,
text
=
'密码:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
)
# 密码提示
text_number
.
place
(
x
=
50
,
y
=
140
)
# 提示位置
text_numbers
=
tkinter
.
Label
(
root
,
text
=
'确认密码:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
,
width
=
40
,
height
=
2
,
bg
=
"light grey"
)
# 确认密码
text_numbers
=
tkinter
.
Label
(
root
,
text
=
'确认密码:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
)
# 确认密码
text_numbers
.
place
(
x
=
30
,
y
=
200
)
# 提示位置
root
.
mainloop
()
# 保持运行
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment