Skip to content
Advertisement

How do I respond to window resize in PySimpleGUI

How can I get notified when the window is resized in PySimpleGUI?

I have a window that enables resize events, but I’m not finding a way to move the elements around when that resize occurs, so my window renames top left centered the same size when the window changes size.

Here is the basic code:

JavaScript

Advertisement

Answer

You need to bind "<Configure>" event to check zoomed event.

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement