From f467d2c4b72a6d081e702114483c9dfa8777b85e Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sun, 8 Dec 2019 15:43:02 -0500 Subject: [PATCH] Front-end to choose which camera --- DemoPrograms/PyDroid3/Demo_OpenCV_Webcam_ASCII.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/PyDroid3/Demo_OpenCV_Webcam_ASCII.py b/DemoPrograms/PyDroid3/Demo_OpenCV_Webcam_ASCII.py index 6de65e26..c06f9580 100644 --- a/DemoPrograms/PyDroid3/Demo_OpenCV_Webcam_ASCII.py +++ b/DemoPrograms/PyDroid3/Demo_OpenCV_Webcam_ASCII.py @@ -36,7 +36,7 @@ SC, GCF, WCF = .1, 1, 7/4 sg.change_look_and_feel('Dark Black 1') # make it look cool # ---------------- A Quick Little Window - to get camera to use ---------------- -win_get_cam = sg.Window('Which Camera?',[[sg.T('Which camera?')],[sg.Combo(['Front', 'Rear'], default_value='Rear', font='any 20')], [sg.Ok()]], location=(0,0)) +win_get_cam = sg.Window('Which Camera?',[[sg.T('Which camera?')],[sg.Combo(['Front', 'Rear'], default_value='Rear', font='any 20')],[sg.T(size=(1,2))], [sg.Ok()]], location=(0,0)) event, values = win_get_cam.read() win_get_cam.close() if event != 'Ok': exit()