mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 13:44:51 +08:00
GUI: Minor cosmetic improvement
This commit is contained in:
parent
8f56ff8aad
commit
1a9f1284d0
1 changed files with 13 additions and 6 deletions
|
|
@ -888,9 +888,9 @@ def _main_gui(viewer_mode: bool):
|
||||||
headings = [
|
headings = [
|
||||||
"ID ",
|
"ID ",
|
||||||
"Date ",
|
"Date ",
|
||||||
"Hostname ",
|
"Hostname ",
|
||||||
"User ",
|
"User ",
|
||||||
"Tags ",
|
"Tags ",
|
||||||
]
|
]
|
||||||
|
|
||||||
layout = [
|
layout = [
|
||||||
|
|
@ -903,7 +903,14 @@ def _main_gui(viewer_mode: bool):
|
||||||
),
|
),
|
||||||
sg.Column(
|
sg.Column(
|
||||||
[
|
[
|
||||||
[sg.Text(OEM_STRING, font="Arial 14")],
|
[
|
||||||
|
sg.Text(
|
||||||
|
OEM_STRING,
|
||||||
|
font="Arial 14",
|
||||||
|
size=(10, None),
|
||||||
|
justification="center",
|
||||||
|
)
|
||||||
|
],
|
||||||
(
|
(
|
||||||
[sg.Text(_t("main_gui.viewer_mode"))]
|
[sg.Text(_t("main_gui.viewer_mode"))]
|
||||||
if viewer_mode
|
if viewer_mode
|
||||||
|
|
@ -923,8 +930,8 @@ def _main_gui(viewer_mode: bool):
|
||||||
else []
|
else []
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
justification="L",
|
justification="C",
|
||||||
element_justification="L",
|
element_justification="C",
|
||||||
vertical_alignment="top",
|
vertical_alignment="top",
|
||||||
),
|
),
|
||||||
sg.Column(
|
sg.Column(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue