commit 10b875039af9258bc86471917ddc8260de471dcc
parent 8569181e8ecdeaca4651b06778b5027c9ef48c2d
Author: FIGBERT <figbertwelner@gmail.com>
Date: Fri, 19 Jul 2019 21:16:54 -0700
Running additional scrollbar tests
Diffstat:
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,6 +1,4 @@
#Ignoring the .vscode folder and all its contents, which contains personal settings
.vscode
#Ignoring the __pycache__ folder and all its contents, because it is compiled code
-Scripts/__pycache__
-#Ignoring some testing files
-Scripts/scrollbar_test.py
-\ No newline at end of file
+Scripts/__pycache__
+\ No newline at end of file
diff --git a/Scripts/figENC_Scrolltest.py b/Scripts/figENC_Scrolltest.py
@@ -312,7 +312,7 @@ def go(mode, save_folder=None, target_file=None, passkey=None, passcheck=None):
root = tk.Tk()
vscrollbar = AutoScrollbar(root)
-canvas = ResizingCanvas(root, yscrollcommand=vscrollbar.set, highlightthickness=0, bg="pink", height=700, width=700)
+canvas = ResizingCanvas(root, yscrollcommand=vscrollbar.set, highlightthickness=0)
canvas.pack(side=tk.LEFT, fill=tk.BOTH, expand=True)
vscrollbar.config(command=canvas.yview)
frame = tk.Frame(canvas, bg="#1A181C")