From 87bb1fd18cee7f4ee31d8829c5905be27ba094cd Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Tue, 10 Dec 2019 14:11:22 -0500 Subject: [PATCH] Fixed key typo, added Dark Blue 3 look and feel --- DemoPrograms/Demo_Compare_Files.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Compare_Files.py b/DemoPrograms/Demo_Compare_Files.py index a5769877..6252c67e 100644 --- a/DemoPrograms/Demo_Compare_Files.py +++ b/DemoPrograms/Demo_Compare_Files.py @@ -5,12 +5,14 @@ import PySimpleGUI as sg Simple "diff" in PySimpleGUI ''' +sg.change_look_and_feel('Dark Blue 3') + def GetFilesToCompare(): form_rows = [[sg.Text('Enter 2 files to comare')], [sg.Text('File 1', size=(15, 1)), sg.InputText(key='-file1-'), sg.FileBrowse()], [sg.Text('File 2', size=(15, 1)), sg.InputText(key='-file2-'), - sg.FileBrowse(target='file2')], + sg.FileBrowse(target='-file2-')], [sg.Submit(), sg.Cancel()]] window = sg.Window('File Compare', form_rows)