From 32f1e46b0c992d5b43ac9568f14858e8978719ff Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Tue, 4 Aug 2020 12:17:32 -0400 Subject: [PATCH] Renamed Collapsible Section Demo --- ...able_Sections.py => Demo_Column_Collapsible_Sections.py} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename DemoPrograms/{Demo_Column_Collapsable_Sections.py => Demo_Column_Collapsible_Sections.py} (93%) diff --git a/DemoPrograms/Demo_Column_Collapsable_Sections.py b/DemoPrograms/Demo_Column_Collapsible_Sections.py similarity index 93% rename from DemoPrograms/Demo_Column_Collapsable_Sections.py rename to DemoPrograms/Demo_Column_Collapsible_Sections.py index d9c56ce9..22b5c2ad 100644 --- a/DemoPrograms/Demo_Column_Collapsable_Sections.py +++ b/DemoPrograms/Demo_Column_Collapsible_Sections.py @@ -1,9 +1,9 @@ import PySimpleGUI as sg """ - Demo - "Collapsable" sections of windows + Demo - "Collapsible" sections of windows - This demo shows one techinique for creating a collapsable section (Column) within your window. + This demo shows one techinique for creating a collapsible section (Column) within your window. It uses the "pin" function so you'll need version 4.28.0+ @@ -33,7 +33,7 @@ section2 = [[sg.pin(sg.Input('Input sec 2', key='-IN2-'))], [sg.pin(sg.Button('Button section 2', button_color='yellow on purple')),sg.Button('Button2 section 2', button_color='yellow on purple'), sg.B('Button3 section 2', button_color='yellow on purple')]] -layout = [ [sg.Text('Window with 2 collapsable sections')], +layout = [ [sg.Text('Window with 2 collapsible sections')], [sg.pin(sg.Input('Input 1', key='-IN0-'))], [sg.T(SYMBOL_DOWN, enable_events=True, k='-OPEN SEC1-', text_color='yellow'), sg.T('Section 1', enable_events=True, text_color='yellow', k='-OPEN SEC1-0')], [collapse(section1, '-SEC1-')],