Fügen Sie Rand hinzu, um PySimpelgui einzugeben

# Will only change the border if you selected the input
window['-In-'].Widget.configure(highlightcolor='color')

# Adds a border to the Input
window['-In-'].Widget.configure(highlightbackground='color')

# The border thickness can be edited with:
highlightthickness=
PETEROLO 291