Skip to content

Commit

Permalink
scale fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pufeili committed Apr 1, 2020
1 parent 2c2c175 commit 4b89063
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,26 +179,26 @@ def clear_all():

#result output
var_sin_result = tk.StringVar()
l_sin = tk.Label(window,width=17, height=2,
l_sin = tk.Label(window,width=14, height=2,
textvariable=var_sin_result,
font=(12), #删除了字体
bg="gray")
l_sin.place(x=150, y=90)

var_cos_result = tk.StringVar()
l_cos = tk.Label(window,width=17, height=2,
l_cos = tk.Label(window,width=14, height=2,
textvariable=var_cos_result,
font=(12),bg="gray")
l_cos.place(x=150, y=150)

var_tan_result = tk.StringVar()
l_tan = tk.Label(window,width=17, height=2,
l_tan = tk.Label(window,width=14, height=2,
textvariable=var_tan_result,
font=(12),bg="gray")
l_tan.place(x=150, y=210)

var_cot_result = tk.StringVar()
l_cot = tk.Label(window,width=17, height=2,
l_cot = tk.Label(window,width=14, height=2,
textvariable=var_cot_result,
font=(12),bg="gray")
l_cot.place(x=150, y=270)
Expand Down

0 comments on commit 4b89063

Please sign in to comment.