Release 3.36

This commit is contained in:
MikeTheWatchGuy 2019-05-29 19:30:36 -04:00
parent a21c60e9e6
commit 2dc8972931
3 changed files with 58 additions and 8 deletions

View File

@ -430,6 +430,10 @@ class Element():
rc = self.FindReturnKeyBoundButton(element)
if rc is not None:
return rc
if element.Type == ELEM_TYPE_PANE:
rc = self.FindReturnKeyBoundButton(element)
if rc is not None:
return rc
return None
def TextClickedHandler(self, event):
@ -5103,7 +5107,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
tktext_label = element.Widget = tk.Label(tk_row_frame, textvariable=stringvar, width=width, height=height,
justify=justify, bd=border_depth, font=font)
# Set wrap-length for text (in PIXELS) == PAIN IN THE ASS
wraplen = tktext_label.winfo_reqwidth() + 40 # width of widget in Pixels
wraplen = tktext_label.winfo_reqwidth() + 10 # width of widget in Pixels
if not auto_size_text and height == 1:
wraplen = 0
tktext_label.configure(anchor=anchor, wraplen=wraplen) # set wrap to width of widget

File diff suppressed because one or more lines are too long

View File

@ -26,9 +26,9 @@
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.35.0-red.svg?longCache=true&style=for-the-badge)
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.36.0-red.svg?longCache=true&style=for-the-badge)
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.35.0-blue.svg?longCache=true&style=for-the-badge)
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.36.0-blue.svg?longCache=true&style=for-the-badge)
![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge)
@ -4971,6 +4971,22 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing
* Bug fix - when setting default for Checkbox it was also disabling the element!
## 3.36 PySimpleGUI & 1.36 PySimpleGUI27 29-May-2019
A combination of user requests, and needs of new `imwatchingyou` debugger
* New Debugger Icon for future built-in debugger
* Fixed bug in FindBoundReturnKey - needed to also check Panes
* NEW Window functions to turn on/off the Grab Anywhere feature
* `Window.GrabAnyWhereOn()`
* `Window.GrabAnyWhereOff()`
* New "Debugger" button that's built-in like other buttons. It's a TINY button with a logo. For future use when a debugger is built into PySimpleGUI itself (SOON!)
* Change Text Element Wrap Length calculation. Went fromn +40 pixels to +10 pixels in formula
* PopupGetFile has new parameter - `multiple_files`. If True then allows selection of multiple files
### Upcoming
Make suggestions people! Future release features