Web Analytics Made Easy - Statcounter
Skip to content


Sizer call reference

Adds pixels to a layout. Used primarily to pad a container element so that it's a particular size. It's a hack that dates back to the early PySimpleGUI days when sizes were strictly in characters and rows making specifying a specific pixel size difficult.

layout = [[sg.Yes(), sg.Sizer(200, 300), sg.No()]]



The Sizer element does not generate events.

Values Dictionary

The Sizer element does not have a Values Dictionary entry