Skip to content

Commit 4ebf455

Browse files
committed
v5.15.1
1 parent 235b8d4 commit 4ebf455

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

easy_turtle.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def EXPAND(num):
254254

255255
FONT = (FONT_TYPE1, EXPAND(12), "bold")
256256

257-
__version__ = (5, 15, 0)
257+
__version__ = (5, 15, 1)
258258

259259

260260
class EasyTurtle:
@@ -5440,13 +5440,13 @@ def show_option(self):
54405440
list_font = (FONT_TYPE1, EXPAND(10))
54415441

54425442
# タイトル
5443-
lab0 = tk.Label(frame0, text="Options",
5444-
font=(FONT_TYPE2, EXPAND(32), "bold"))
5443+
lab0 = tk.Label(
5444+
frame0, text="Options", font=(FONT_TYPE2, EXPAND(32), "bold"))
54455445
lab0.pack(side=tk.TOP, pady=EXPAND(10))
54465446

54475447
# 決定ボタン
5448-
but1 = tk.Button(frame0, text="決定", font=font, width=12,
5449-
command=self.decide_option)
5448+
but1 = tk.Button(
5449+
frame0, text="決定", font=font, width=12, command=self.decide_option)
54505450
but1.pack(side=tk.BOTTOM, pady=(EXPAND(10), EXPAND(20)))
54515451

54525452
# 下側のライン
@@ -5457,10 +5457,10 @@ def show_option(self):
54575457
self.cv1.pack()
54585458

54595459
# 左側のライン
5460-
frame0 = tk.Frame(frame0)
5461-
frame0.pack(anchor=tk.NW, side=tk.LEFT, padx=(EXPAND(60), 0))
5460+
frame1 = tk.Frame(frame0)
5461+
frame1.pack(anchor=tk.NW, side=tk.LEFT, padx=(EXPAND(60), 0))
54625462

5463-
fra1 = tk.Frame(frame0)
5463+
fra1 = tk.Frame(frame1)
54645464
fra1.pack(anchor=tk.W, pady=EXPAND(10))
54655465
lab1 = tk.Label(fra1, text="text = ", font=font)
54665466
lab1.pack(side=tk.LEFT)
@@ -5469,7 +5469,7 @@ def show_option(self):
54695469
self.opt1.bind("<KeyPress>", self.preview_font)
54705470
self.opt1.pack(side=tk.LEFT)
54715471

5472-
fra2 = tk.Frame(frame0)
5472+
fra2 = tk.Frame(frame1)
54735473
fra2.pack(anchor=tk.W, pady=EXPAND(10))
54745474
lab2 = tk.Label(fra2, text="move = ", font=font)
54755475
lab2.pack(side=tk.LEFT)
@@ -5481,7 +5481,7 @@ def show_option(self):
54815481
self.opt2.bind("<<ComboboxSelected>>", self.preview_font)
54825482
self.opt2.pack(side=tk.LEFT)
54835483

5484-
fra3 = tk.Frame(frame0)
5484+
fra3 = tk.Frame(frame1)
54855485
fra3.pack(anchor=tk.W, pady=EXPAND(10))
54865486
lab3 = tk.Label(fra3, text="align = ", font=font)
54875487
lab3.pack(side=tk.LEFT)
@@ -5490,7 +5490,7 @@ def show_option(self):
54905490
self.opt3.bind("<KeyPress>", self.preview_font)
54915491
self.opt3.pack(side=tk.LEFT)
54925492

5493-
fra4 = tk.Frame(frame0)
5493+
fra4 = tk.Frame(frame1)
54945494
fra4.pack(anchor=tk.W, pady=EXPAND(10))
54955495
lab4 = tk.Label(fra4, text="sideway = ", font=font)
54965496
lab4.pack(side=tk.LEFT)
@@ -5502,7 +5502,7 @@ def show_option(self):
55025502
self.opt4.bind("<<ComboboxSelected>>", self.preview_font)
55035503
self.opt4.pack(side=tk.LEFT)
55045504

5505-
fra6 = tk.Frame(frame0)
5505+
fra6 = tk.Frame(frame1)
55065506
fra6.pack(anchor=tk.W, pady=EXPAND(10))
55075507
lab6 = tk.Label(fra6, text="weight = ", font=font)
55085508
lab6.pack(side=tk.LEFT)
@@ -5514,7 +5514,7 @@ def show_option(self):
55145514
self.opt6.bind("<<ComboboxSelected>>", self.preview_font)
55155515
self.opt6.pack(side=tk.LEFT)
55165516

5517-
fra7 = tk.Frame(frame0)
5517+
fra7 = tk.Frame(frame1)
55185518
fra7.pack(anchor=tk.W, pady=EXPAND(10))
55195519
lab7 = tk.Label(fra7, text="slant = ", font=font)
55205520
lab7.pack(side=tk.LEFT)
@@ -5552,13 +5552,13 @@ def show_option(self):
55525552
fra9.pack(anchor=tk.W, pady=EXPAND(10))
55535553
self.font_list = self.without_atmark()
55545554
var1 = tk.StringVar(value=self.font_list)
5555-
self.lsb1 = tk.Listbox(fra9, listvariable=var1, height=6,
5556-
width=24, selectmode='single',
5557-
font=(FONT_TYPE2, EXPAND(18)))
5555+
self.lsb1 = tk.Listbox(
5556+
fra9, listvariable=var1, height=6, width=24,
5557+
selectmode='single', font=(FONT_TYPE2, EXPAND(18)))
55585558
self.lsb1.bind('<<ListboxSelect>>', self.change_font)
55595559
self.lsb1.pack(fill=tk.Y, side=tk.LEFT)
5560-
scr1 = ttk.Scrollbar(fra9, orient=tk.VERTICAL,
5561-
command=self.lsb1.yview)
5560+
scr1 = ttk.Scrollbar(
5561+
fra9, orient=tk.VERTICAL, command=self.lsb1.yview)
55625562
self.lsb1['yscrollcommand'] = scr1.set
55635563
scr1.pack(fill=tk.Y, side=tk.LEFT)
55645564

@@ -5771,16 +5771,16 @@ def show_option(self):
57715771
self.win.wait_visibility()
57725772
self.win.grab_set()
57735773
lab1 = tk.Label(
5774-
self.win, text="Option", bfont=(FONT_TYPE2, EXPAND(30), "bold"))
5774+
self.win, text="Option", font=(FONT_TYPE2, EXPAND(30), "bold"))
57755775
lab1.pack(padx=EXPAND(20), pady=EXPAND(20))
57765776
font_scr = (FONT_TYPE1, EXPAND(16), "bold")
57775777
self.scr1 = scrolledtext.ScrolledText(
57785778
self.win, font=font_scr, width=24, height=6)
57795779
self.scr1.pack(padx=EXPAND(20), pady=EXPAND(0))
57805780
self.scr1.insert("0.0", self.comment)
57815781
but1 = tk.Button(
5782-
self.win, text="決定", font=FONT,
5783-
width=10, command=self.decide_option)
5782+
self.win, text="決定", font=FONT, width=10,
5783+
command=self.decide_option)
57845784
but1.pack(padx=EXPAND(36), pady=EXPAND(20))
57855785
self.win.resizable(False, False)
57865786

0 commit comments

Comments
 (0)