4.60.1 patch that was released 22-May-2022

This commit is contained in:
PySimpleGUI 2022-07-26 08:45:57 -04:00
parent 55d1bf1e86
commit ca93e48ad4
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,13 @@
#!/usr/bin/python3 #!/usr/bin/python3
version = __version__ = "4.60.0 Released 8-May-2022" version = __version__ = "4.60.1 Released 22-May-2022"
_change_log = """ _change_log = """
Changelog since 4.60.0 released to PyPI on 8-May-2022 Changelog since 4.60.0 released to PyPI on 8-May-2022
4.60.1
A "dot-release" / patch for crash that occurs if the horizontal_scroll parm is set in Listbox element
Was created when the ttk scrollbars were added
""" """
__version__ = version.split()[0] # For PEP 396 and PEP 345 __version__ = version.split()[0] # For PEP 396 and PEP 345
@ -15543,7 +15546,6 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
# Horizontal scrollbar # Horizontal scrollbar
if element.HorizontalScroll: if element.HorizontalScroll:
element.TKText.config(wrap='none')
_make_ttk_scrollbar(element, 'h', toplevel_form) _make_ttk_scrollbar(element, 'h', toplevel_form)
element.hsb.pack(side=tk.BOTTOM, fill='x') element.hsb.pack(side=tk.BOTTOM, fill='x')
element.Widget.configure(xscrollcommand=element.hsb.set) element.Widget.configure(xscrollcommand=element.hsb.set)