From b1f0fa161a6acebb02bbde42ae7f568fb26fcc81 Mon Sep 17 00:00:00 2001 From: Josh b Date: Thu, 25 Aug 2022 18:10:43 -0700 Subject: [PATCH] Updated layout --- main.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9586c9b..ad33233 100644 --- a/main.py +++ b/main.py @@ -4,10 +4,17 @@ import PySimpleGUI as sg # Define the window's contents -layout = [[sg.Text("What's your name?")], +layout = [[sg.Table([["word","Yes"]],["Serial Number","Brand","Grade","Name"])], + [sg.Text("Serial Number")], + [sg.Input(key='-INPUT-')], + [sg.Text("Brand")], + [sg.Input(key='-INPUT-')], + [sg.Text("Grade")], + [sg.Input(key='-INPUT-')], + [sg.Text("Name")], [sg.Input(key='-INPUT-')], [sg.Text(size=(40,1), key='-OUTPUT-')], - [sg.Button('Ok'), sg.Button('Quit')]] + [sg.Button('Check In'), sg.Button('Check Out')]]