質問するログイン新規登録

質問編集履歴

1

コードの訂正

2020/12/29 07:16

投稿

netz-eng
netz-eng

スコア105

title CHANGED
File without changes
body CHANGED
@@ -18,6 +18,7 @@
18
18
  import tkinter as tk
19
19
  from tkinter import ttk
20
20
  import tkinter.font as font
21
+ from tkinter.scrolledtext import ScrolledText
21
22
 
22
23
  #tk
23
24
  root = tk.Tk()
@@ -74,7 +75,7 @@
74
75
 
75
76
  ent3 = ScrolledText(fra1, height=5, font=fon)
76
77
  ent3.insert(tk.END, "Entry 3")
77
- ent3.grid(row=5, columnspan=2, cnf=pad, sticky=w)
78
+ ent3.grid(row=5, columnspan=2, cnf=pad, sticky=we)
78
79
 
79
80
 
80
81
  # =================================================================================