From f3147afca824c25d9e894bf25c38f83ff9503449 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Tue, 28 Sep 2021 14:08:28 -0400 Subject: [PATCH] VPush and VP Aliases for VStretch --- PySimpleGUI.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 1fc16456..b5a92fa3 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.48.0.4 Unreleased" +version = __version__ = "4.48.0.5 Unreleased" _change_log = """ @@ -16,6 +16,8 @@ _change_log = """ Changed docstring for Multiline default value to Any and added a cast to string 4.48.0.4 More test harness additions + 4.48.0.5 + VPush and VP element aliases added for VStretch """ __version__ = version.split()[0] # For PEP 396 and PEP 345 @@ -8190,7 +8192,7 @@ def Stretch(): return Text(font='_ 1', pad=(0,0), expand_x=True) Push = Stretch -P = Push +P = Stretch def VStretch(): """ @@ -8201,6 +8203,8 @@ def VStretch(): return Text(font='_ 1', pad=(0,0), expand_y=True) +VPush = VStretch +VP = VStretch # ------------------------------------------------------------------------- #