From 7379d0bf6299528e6d0f32edc7bcb9b45711a752 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Thu, 22 Aug 2019 12:20:39 -0400 Subject: [PATCH] NEW Sizer Element --- PySimpleGUI.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 6858ebbe..d6f8ba04 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -6122,6 +6122,9 @@ Window.CloseNonBlocking = Window.Close # Button Lazy Functions so the caller doesn't have to define a bunch of stuff # # =========================================================================== # +# ------------------------- A fake Element... the Pad Element ------------------------- # +def Sizer(h_pixels=0, v_pixels=0): + return Column([[]], pad=((h_pixels,0),(v_pixels,0))) # ------------------------- FOLDER BROWSE Element lazy function ------------------------- # def FolderBrowse(button_text='Browse', target=(ThisRow, -1), initial_folder=None, tooltip=None, size=(None, None),