Skip to content

Commit da5c8f5

Browse files
Changed window layout
1 parent f5181b0 commit da5c8f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Demo_LED_Indicators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ def SetLED(window, key, color):
2727
graph.DrawCircle((0, 0), 10, fill_color=color, line_color=color)
2828

2929

30-
layout = [[sg.Text('My layout')],
30+
layout = [[sg.Text('My Status Report')],
3131
[sg.Text('CPU Use'), LEDIndicator('_cpu_')],
3232
[sg.Text('RAM'), LEDIndicator('_ram_')],
3333
[sg.Text('Temperature'), LEDIndicator('_temp_')],
3434
[sg.Text('Server 1'), LEDIndicator('_server1_')],
35-
[sg.RButton('Read The Window'), sg.Exit()]]
35+
[sg.Exit()]]
3636

3737
window = sg.Window('My new window', default_element_size=(12, 1), auto_size_text=False).Layout(layout).Finalize()
3838

0 commit comments

Comments
 (0)