From 2d019612fe4f62dec039cc8feb69843aaae16550 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Tue, 1 Nov 2022 15:11:50 -0400 Subject: [PATCH] Enabled resizing of table --- DemoPrograms/Demo_Table_Simulation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DemoPrograms/Demo_Table_Simulation.py b/DemoPrograms/Demo_Table_Simulation.py index 19930e9b..4beb9a21 100644 --- a/DemoPrograms/Demo_Table_Simulation.py +++ b/DemoPrograms/Demo_Table_Simulation.py @@ -28,9 +28,9 @@ def TableSimulation(): sg.Input(key='inputrow', justification='right', size=(8, 1), pad=(1, 1)), sg.Input(key='inputcol', size=(8, 1), pad=(1, 1), justification='right'), sg.Input(key='value', size=(8, 1), pad=(1, 1), justification='right')], - [sg.Col(columm_layout, size=(800, 600), scrollable=True,)]] + [sg.Col(columm_layout, size=(800, 600), scrollable=True)]] - window = sg.Window('Table', layout, return_keyboard_events=True) + window = sg.Window('Table', layout, return_keyboard_events=True, resizable=True) while True: event, values = window.read()