Merge pull request #565 from MikeTheWatchGuy/Dev-latest

Updated locations
This commit is contained in:
MikeTheWatchGuy 2018-10-26 19:04:00 -04:00 committed by GitHub
commit f1b82d7d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -9,22 +9,21 @@ layout1 = [[ sg.Text('Window 1') ],
[sg.Input(do_not_clear=True)], [sg.Input(do_not_clear=True)],
[ sg.RButton('Read')]] [ sg.RButton('Read')]]
window1 = sg.Window('My new window', location=(800,800)).Layout(layout1) window1 = sg.Window('My new window', location=(800,500)).Layout(layout1)
layout2 = [[ sg.Text('Window 2') ], layout2 = [[ sg.Text('Window 2') ],
[sg.Input(do_not_clear=False)], [sg.Input(do_not_clear=False)],
[ sg.RButton('Read')]] [ sg.RButton('Read')]]
window2 = sg.Window('My new window', location=(800, 925)).Layout(layout2) window2 = sg.Window('My new window', location=(800, 625)).Layout(layout2)
layout3 = [[ sg.Text('Window 3') ], layout3 = [[ sg.Text('Window 3') ],
[sg.Input(do_not_clear=False)], [sg.Input(do_not_clear=False)],
[ sg.RButton('Read')]] [ sg.RButton('Read')]]
window3 = sg.Window('My new window', location=(800,1050)).Layout(layout3) window3 = sg.Window('My new window', location=(800,750), return_keyboard_events=True).Layout(layout3)
while True: # Event Loop while True: # Event Loop