commit 8569181e8ecdeaca4651b06778b5027c9ef48c2d
parent 98c98a29bd1475e628cc37f60e70c3b232af94cb
Author: FIGBERT <figbertwelner@gmail.com>
Date: Fri, 19 Jul 2019 18:30:28 -0700
Fixing placement of create_window() command in the scrollbar test file
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Scripts/figENC_Scrolltest.py b/Scripts/figENC_Scrolltest.py
@@ -316,7 +316,7 @@ canvas = ResizingCanvas(root, yscrollcommand=vscrollbar.set, highlightthickness=
canvas.pack(side=tk.LEFT, fill=tk.BOTH, expand=True)
vscrollbar.config(command=canvas.yview)
frame = tk.Frame(canvas, bg="#1A181C")
-frame.pack(fill=tk.BOTH, side=tk.LEFT)
+canvas.create_window(0, 0, anchor=tk.NW, window=frame)
header = tk.Label(
frame,
@@ -528,7 +528,6 @@ else:
)
)
-canvas.create_window(0, 0, anchor=tk.NW, window=frame)
frame.update()
canvas.config(scrollregion=canvas.bbox("all"))