From 1e76e79b7913df3be69de2f0b0948159b0e06f27 Mon Sep 17 00:00:00 2001 From: tiagoepr Date: Wed, 28 Dec 2022 16:22:10 +0000 Subject: [PATCH] Layout adjustments --- mllp_https_gui/https2mllp_config_window.py | 6 +++--- mllp_https_gui/loading_window.py | 4 ++-- mllp_https_gui/mllp2https_config_window.py | 6 +++--- mllp_https_gui/version.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mllp_https_gui/https2mllp_config_window.py b/mllp_https_gui/https2mllp_config_window.py index d770890..67183c7 100644 --- a/mllp_https_gui/https2mllp_config_window.py +++ b/mllp_https_gui/https2mllp_config_window.py @@ -191,19 +191,19 @@ def __init__(self): ], [sg.VSeparator(pad=(0, 15))], [ + sg.Stretch(), sg.Button('Create Windows Service', key='-CreateWinService-', disabled=True), sg.Button('Delete Windows Service', key='-DeleteWinService-', disabled=True), + sg.Stretch(), sg.Image(os.path.abspath('../lib/site-packages/mllp_https_gui/doc/logo_mllp2https.png')) ], ] - layout_footer = [ - [sg.Stretch(), sg.Image(os.path.abspath('../lib/site-packages/mllp_https_gui/doc/logo_mllp2https.png'))], - ] + layout_footer = [] layout = [ [sg.Column(layout_header, diff --git a/mllp_https_gui/loading_window.py b/mllp_https_gui/loading_window.py index 740744d..ff0e1d9 100644 --- a/mllp_https_gui/loading_window.py +++ b/mllp_https_gui/loading_window.py @@ -63,12 +63,12 @@ def background_tasks(self): # Make sure that Pip is installed: try: # os.system('py -m pip --version') - subprocess.call('py -m pip install --upgrade pip --retries 1') + # subprocess.call('py -m pip install --upgrade pip --retries 1') # Install mllp-https subprocess.call('py -m pip install mllp-https --upgrade --retries 1') except subprocess.CalledProcessError as e: - print('Could not upgrade pip and mllp-https modules.') + print('Could not upgrade mllp-https module.') print('Error: ', e) sleep(1) diff --git a/mllp_https_gui/mllp2https_config_window.py b/mllp_https_gui/mllp2https_config_window.py index 736c0ec..b73e4a3 100644 --- a/mllp_https_gui/mllp2https_config_window.py +++ b/mllp_https_gui/mllp2https_config_window.py @@ -150,18 +150,18 @@ def __init__(self): ], [sg.VSeparator(pad=(0, 15))], [ + sg.Stretch(), sg.Button('Create Windows Service', key='-CreateWinService-', disabled=True), sg.Button('Delete Windows Service', key='-DeleteWinService-', disabled=True), + sg.Stretch(), sg.Image(os.path.abspath('../lib/site-packages/mllp_https_gui/doc/logo_mllp2https.png')) ], ] - layout_footer = [ - [sg.Stretch(), sg.Image(os.path.abspath('../lib/site-packages/mllp_https_gui/doc/logo_mllp2https.png'))], - ] + layout_footer = [] layout = [ [sg.Column(layout_header, diff --git a/mllp_https_gui/version.py b/mllp_https_gui/version.py index ca5c44e..08a59cb 100644 --- a/mllp_https_gui/version.py +++ b/mllp_https_gui/version.py @@ -1 +1 @@ -__version__ = "0.0.30" +__version__ = "0.0.31"