Bug
Windows 10
3.7.4
PySimpleGUI 4.4.0
PySimpleGUI
import PySimpleGUI as sg
layout = [
[sg.Text('Persistent window', size=(50, 1))],
[sg.Input(do_not_clear=True, size=(1, 1))],
[sg.Button('Read'), sg.Exit()]
]
window = sg.Window('Window that stays open', layout)
while True:
event, values = window.Read()
if event is None or event == 'Exit':
break
print(event, values)
window.Close()
As you can see the size of Input should be (1, 1). However its size is (50, 1).

Uggghhhh..... I tried to get the resizing of elements turned on and didn't catch this side effect. Seems like I can't have it both ways at the moment. I'll get an emergency release out today. Several elements are going to have this issue.
OK, fixed on GitHub. Hopefully I didn't turn off expansion for stuff that actually needed it.
Uploaded a quick 4.4.1 and 2.4.1 with hopes not many people downloaded this rather bad release.
Please grab from PyPI again.
Awesome!
Thank you for taking the time to report this so quickly. It really saved my ass!! It allowed me to get on it before too many people installed it.
You and your team is really doing awesome work.
You are welcome!