質問編集履歴
1
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,3 +17,29 @@
|
|
17
17
|
Enterキーを押した後
|
18
18
|
|
19
19
|
![確定後にフォントサイズが合う](833c90340a9c2fc03f3e3ba499a39791.png)
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
ソースコード
|
24
|
+
|
25
|
+
```Python
|
26
|
+
|
27
|
+
import tkinter as tk
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
win = tk.Tk()
|
32
|
+
|
33
|
+
win.geometry("500x300")
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
entry = tk.Entry(win, font=("", 30))
|
38
|
+
|
39
|
+
entry.grid()
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
win.mainloop()
|
44
|
+
|
45
|
+
```
|