Merge pull request #2351 from PySimpleGUI/Dev-latest

Fixed key typo, added Dark Blue 3 look and feel
This commit is contained in:
PySimpleGUI 2019-12-10 14:11:41 -05:00 committed by GitHub
commit 4f657e34af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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)