Skip to content

Commit

Permalink
Layout adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoepr committed Dec 28, 2022
1 parent 770256c commit 1e76e79
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions mllp_https_gui/https2mllp_config_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions mllp_https_gui/loading_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions mllp_https_gui/mllp2https_config_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion mllp_https_gui/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.30"
__version__ = "0.0.31"

0 comments on commit 1e76e79

Please sign in to comment.