Fix for crash when specifying horizontal scroll in Listbox element
This commit is contained in:
parent
48bb8fe24c
commit
b85ad8e12a
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
version = __version__ = "4.60.0.6 Unreleased"
|
version = __version__ = "4.60.0.7 Unreleased"
|
||||||
|
|
||||||
_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
|
||||||
|
@ -22,6 +22,8 @@ _change_log = """
|
||||||
Added check for None invalid values parm when creating a Listbox element
|
Added check for None invalid values parm when creating a Listbox element
|
||||||
4.60.0.6
|
4.60.0.6
|
||||||
Column docstring changed to add reminder to call contents_changed if changing the contents of a scrollable column
|
Column docstring changed to add reminder to call contents_changed if changing the contents of a scrollable column
|
||||||
|
4.60.0.7
|
||||||
|
Fixed crash when horizontal_scroll=True for Listbox element
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
||||||
|
@ -15572,7 +15574,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)
|
||||||
|
|
Loading…
Reference in New Issue