Merge pull request #6001 from PySimpleGUI/Dev-latest

Enabled resizing of table
This commit is contained in:
PySimpleGUI 2022-11-01 15:12:06 -04:00 committed by GitHub
commit 570e20b398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()