From da5c8f5bc80ab4e68f6d8edfcd13eff1be68ea8a Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Mon, 1 Oct 2018 21:29:18 -0400 Subject: [PATCH] Changed window layout --- Demo_LED_Indicators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo_LED_Indicators.py b/Demo_LED_Indicators.py index b1f64eca..5754c653 100644 --- a/Demo_LED_Indicators.py +++ b/Demo_LED_Indicators.py @@ -27,12 +27,12 @@ def SetLED(window, key, color): graph.DrawCircle((0, 0), 10, fill_color=color, line_color=color) -layout = [[sg.Text('My layout')], +layout = [[sg.Text('My Status Report')], [sg.Text('CPU Use'), LEDIndicator('_cpu_')], [sg.Text('RAM'), LEDIndicator('_ram_')], [sg.Text('Temperature'), LEDIndicator('_temp_')], [sg.Text('Server 1'), LEDIndicator('_server1_')], - [sg.RButton('Read The Window'), sg.Exit()]] + [sg.Exit()]] window = sg.Window('My new window', default_element_size=(12, 1), auto_size_text=False).Layout(layout).Finalize()