Merge pull request #4178 from PySimpleGUI/Dev-latest
Fix for TCL error in Col element (Nice Jason!)
This commit is contained in:
commit
21d7746458
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
version = __version__ = "4.39.1 Released 11-Apr-2021"
|
version = __version__ = "4.39.1.1 Unreleased\nfix for TCL error when scrolling col element (Jason99020 scores again!)"
|
||||||
|
|
||||||
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
||||||
|
|
||||||
|
@ -6280,6 +6280,7 @@ class TkScrollableFrame(tk.Frame):
|
||||||
|
|
||||||
# Chr0nic
|
# Chr0nic
|
||||||
|
|
||||||
|
self.unhookMouseWheel(None)
|
||||||
self.TKFrame.bind("<Enter>", self.hookMouseWheel)
|
self.TKFrame.bind("<Enter>", self.hookMouseWheel)
|
||||||
self.TKFrame.bind("<Leave>", self.unhookMouseWheel)
|
self.TKFrame.bind("<Leave>", self.unhookMouseWheel)
|
||||||
|
|
||||||
|
@ -19246,8 +19247,8 @@ If you've been programming for a month, the person answering your question can a
|
||||||
""" The steps to log an issue are:
|
""" The steps to log an issue are:
|
||||||
1. Fill in the form
|
1. Fill in the form
|
||||||
2. Click Post Issue """
|
2. Click Post Issue """
|
||||||
layout = [
|
|
||||||
[T('Goals', font=heading_font, pad=(0,0))],
|
layout = [ [T('Goals', font=heading_font, pad=(0,0))],
|
||||||
[HelpText(help_goals)],
|
[HelpText(help_goals)],
|
||||||
[T('Why?', font=heading_font, pad=(0,0))],
|
[T('Why?', font=heading_font, pad=(0,0))],
|
||||||
[HelpText(help_why)],
|
[HelpText(help_why)],
|
||||||
|
@ -19257,8 +19258,8 @@ If you've been programming for a month, the person answering your question can a
|
||||||
[HelpText(help_experience)],
|
[HelpText(help_experience)],
|
||||||
[T('Steps', font=heading_font, pad=(0,0))],
|
[T('Steps', font=heading_font, pad=(0,0))],
|
||||||
[HelpText(help_steps)],
|
[HelpText(help_steps)],
|
||||||
[B('Close')]
|
[B('Close')]]
|
||||||
]
|
|
||||||
Window('GitHub Issue GUI Help', layout, keep_on_top=True).read(close=True)
|
Window('GitHub Issue GUI Help', layout, keep_on_top=True).read(close=True)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -19271,14 +19272,13 @@ def main_open_github_issue():
|
||||||
v_size = (15,1)
|
v_size = (15,1)
|
||||||
frame_versions = [[T('Python', size=v_size), In(sys.version, size=(20,1), k='-VER PYTHON-')],
|
frame_versions = [[T('Python', size=v_size), In(sys.version, size=(20,1), k='-VER PYTHON-')],
|
||||||
[T('PySimpleGUI', size=v_size), In(ver, size=(20,1), k='-VER PSG-')],
|
[T('PySimpleGUI', size=v_size), In(ver, size=(20,1), k='-VER PSG-')],
|
||||||
[T('tkinter', size=v_size), In(tclversion_detailed, size=(20,1), k='-VER TK-')],]
|
[T('tkinter', size=v_size), In(tclversion_detailed, size=(20,1), k='-VER TK-')]]
|
||||||
|
|
||||||
frame_platforms = [ [T('OS '), T('Details')],
|
frame_platforms = [ [T('OS '), T('Details')],
|
||||||
[Radio('Windows', 2, running_windows(), size=(8,1), k='-OS WIN-'), In(size=(8,1),k='-OS WIN VER-')],
|
[Radio('Windows', 2, running_windows(), size=(8,1), k='-OS WIN-'), In(size=(8,1),k='-OS WIN VER-')],
|
||||||
[Radio('Linux', 2,running_linux(), size=(8,1), k='-OS LINUX-'), In(size=(8,1),k='-OS LINUX VER-')],
|
[Radio('Linux', 2,running_linux(), size=(8,1), k='-OS LINUX-'), In(size=(8,1),k='-OS LINUX VER-')],
|
||||||
[Radio('Mac', 2, running_mac(), size=(8,1), k='-OS MAC-'), In(size=(8,1),k='-OS MAC VER-')],
|
[Radio('Mac', 2, running_mac(), size=(8,1), k='-OS MAC-'), In(size=(8,1),k='-OS MAC VER-')],
|
||||||
[Radio('Other', 2, size=(8,1), k='-OS OTHER-'), In(size=(8,1),k='-OS OTHER VER-')],
|
[Radio('Other', 2, size=(8,1), k='-OS OTHER-'), In(size=(8,1),k='-OS OTHER VER-')]]
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
frame_experience = [[T('Optional Experience Info')],
|
frame_experience = [[T('Optional Experience Info')],
|
||||||
|
@ -19288,8 +19288,7 @@ def main_open_github_issue():
|
||||||
[T('Share more if you want....')],
|
[T('Share more if you want....')],
|
||||||
[In(size=(25,1), k='-EXP NOTES-')]]
|
[In(size=(25,1), k='-EXP NOTES-')]]
|
||||||
|
|
||||||
checklist = (
|
checklist = ( ('Searched main docs for your problem', 'www.PySimpleGUI.org'),
|
||||||
('Searched main docs for your problem', 'www.PySimpleGUI.org'),
|
|
||||||
('Looked for Demo Programs that are similar to your goal ', 'http://Demos.PySimpleGUI.org'),
|
('Looked for Demo Programs that are similar to your goal ', 'http://Demos.PySimpleGUI.org'),
|
||||||
('If not tkinter - looked for Demo Programs for specific port', ''),
|
('If not tkinter - looked for Demo Programs for specific port', ''),
|
||||||
('For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)', ''),
|
('For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)', ''),
|
||||||
|
@ -19317,10 +19316,8 @@ def main_open_github_issue():
|
||||||
[HorizontalSeparator()],
|
[HorizontalSeparator()],
|
||||||
[T(SYMBOL_DOWN + ' If you need more room for details grab the dot and drag to expand', background_color='red', text_color='white')]]
|
[T(SYMBOL_DOWN + ' If you need more room for details grab the dot and drag to expand', background_color='red', text_color='white')]]
|
||||||
|
|
||||||
bottom_layout = [
|
bottom_layout = [[TabGroup([[Tab('Details', frame_details), Tab('Code', frame_code), Tab('Markdown', frame_markdown)]], k='-TABGROUP-')],
|
||||||
[TabGroup([[Tab('Details', frame_details), Tab('Code', frame_code), Tab('Markdown', frame_markdown)]], k='-TABGROUP-')],
|
[Text(size=(12,1), key='-OUT-')]]
|
||||||
[Text(size=(12,1), key='-OUT-')],
|
|
||||||
]
|
|
||||||
|
|
||||||
layout_pane = Pane([Col(top_layout), Col(bottom_layout)], key='-PANE-')
|
layout_pane = Pane([Col(top_layout), Col(bottom_layout)], key='-PANE-')
|
||||||
|
|
||||||
|
@ -19328,6 +19325,7 @@ def main_open_github_issue():
|
||||||
[Col([[B('Post Issue'), B('Create Markdown Only'), B('Quit')]], expand_x=False, expand_y=False)]]
|
[Col([[B('Post Issue'), B('Create Markdown Only'), B('Quit')]], expand_x=False, expand_y=False)]]
|
||||||
|
|
||||||
window = Window('Open A GitHub Issue', layout, finalize=True, resizable=True, enable_close_attempted_event=True)
|
window = Window('Open A GitHub Issue', layout, finalize=True, resizable=True, enable_close_attempted_event=True)
|
||||||
|
|
||||||
for i in range(len(checklist)):
|
for i in range(len(checklist)):
|
||||||
window['-T{}-'.format(i)].set_cursor('hand1')
|
window['-T{}-'.format(i)].set_cursor('hand1')
|
||||||
window['-TABGROUP-'].expand(True, True, True)
|
window['-TABGROUP-'].expand(True, True, True)
|
||||||
|
|
Loading…
Reference in New Issue