Enabled resizing of table

This commit is contained in:
PySimpleGUI 2022-11-01 15:11:50 -04:00
parent bb4cbc8e85
commit 2d019612fe
1 changed files with 2 additions and 2 deletions

View File

@ -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()