From 2dc0e3aa684a19de2b8512091c5e33ab697bb951 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Tue, 6 Aug 2019 19:13:18 -0400 Subject: [PATCH] Better display of version number --- PySimpleGUIWeb/PySimpleGUIWeb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PySimpleGUIWeb/PySimpleGUIWeb.py b/PySimpleGUIWeb/PySimpleGUIWeb.py index 14f3f02e..75f20472 100644 --- a/PySimpleGUIWeb/PySimpleGUIWeb.py +++ b/PySimpleGUIWeb/PySimpleGUIWeb.py @@ -7085,10 +7085,11 @@ def main(): layout = [ [Menu(menu_def, key='_MENU_', text_color='yellow', background_color='#475841', font='Courier 14')], # [T('123435', size=(1,8))], + [Text('PySimpleGUIWeb Welcomes You...', tooltip='text', font=('Comic sans ms', 20),size=(40,1), text_color='red', enable_events=True, key='_PySimpleGUIWeb_')], # [OptionMenu([])], [T('System platform = %s'%sys.platform)], [Image(data=DEFAULT_BASE64_ICON, enable_events=True)], - [Text('PySimpleGUIWeb Welcomes You...', tooltip='text', font=('Comic sans ms', 20),size=(40,1), text_color='red', enable_events=True, key='_PySimpleGUIWeb_')], + [Text('VERSION {}'.format(version), text_color='red', font='Courier 24')], [T('Current Time '), Text('Text', key='_TEXT_', font='Arial 18', text_color='black', size=(30,1)), Column(col1, background_color='red')], [T('Up Time'), Text('Text', key='_TEXT_UPTIME_', font='Arial 18', text_color='black', size=(30,1))], [Input('Single Line Input', do_not_clear=True, enable_events=False, size=(30, 1), text_color='red', key='_IN_')],