From b0084a2d7523a59d34cdb4d75a7c9d31716d13de Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sun, 2 May 2021 10:46:31 -0400 Subject: [PATCH] A little cleanup --- DemoPrograms/Demo_Desktop_Widget_Timer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Desktop_Widget_Timer.py b/DemoPrograms/Demo_Desktop_Widget_Timer.py index f78f4d5d..6cc5550d 100644 --- a/DemoPrograms/Demo_Desktop_Widget_Timer.py +++ b/DemoPrograms/Demo_Desktop_Widget_Timer.py @@ -36,7 +36,9 @@ window = sg.Window('Running Timer', layout, auto_size_buttons=False, keep_on_top=True, grab_anywhere=True, - element_padding=(0, 0), finalize=True, + element_padding=(0, 0), + finalize=True, + element_justification='c', right_click_menu=sg.MENU_RIGHT_CLICK_EDITME_EXIT) current_time, paused_time, paused = 0, 0, False