Merge pull request #1860 from PySimpleGUI/Dev-latest

NEW Sizer Element
This commit is contained in:
MikeTheWatchGuy 2019-08-22 12:21:00 -04:00 committed by GitHub
commit 28340a7d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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),