Skip to content

Commit fe39b16

Browse files
committed
NEW Push element (alias for the Stretch element)
1 parent 32602b2 commit fe39b16

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

PySimpleGUI.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python3
22

3-
version = __version__ = "4.47.0.6 Unreleased"
3+
version = __version__ = "4.47.0.7 Unreleased"
44

55
"""
66
Changelog since 4.47.0 release to PyPI on 30 Aug 2021
@@ -19,6 +19,9 @@
1919
New parameter alias for elements.... p == pad. It is like the other 2 parameter aliases s == size and k == key
2020
4,47.0.6
2121
New parameter size_px for ProgressBar - yes, finally a sensible measurement for this element using pixels rather than chars and pixels
22+
4,47.0.7
23+
New alias for Stretch - Push - P. Stretch is a Widget name from Qt. I gave it some thought and realized what it DOES is Pushes elements
24+
around. So, Push seemed like a good name, and it's shorter. I then also make the 1-letter version P.
2225
"""
2326

2427
__version__ = version.split()[0] # For PEP 396 and PEP 345
@@ -8126,6 +8129,8 @@ def Stretch():
81268129
"""
81278130
return Text(font='_ 1', pad=(0,0), expand_x=True)
81288131

8132+
Push = Stretch
8133+
P = Push
81298134

81308135
def VStretch():
81318136
"""

0 commit comments

Comments
 (0)