Show version LibreOffice

This commit is contained in:
Mauricio Baeza 2020-01-02 22:33:40 -06:00
parent bb826cde82
commit f3a1cece76
2 changed files with 5 additions and 4 deletions

Binary file not shown.

View File

@ -269,7 +269,7 @@ class ZAZPip(unohelper.Base, XJobExecutor):
def _create_dialog(self): def _create_dialog(self):
args= { args= {
'Name': 'dialog', 'Name': 'dialog',
'Title': 'ZAZ-PIP', 'Title': 'Zaz-Pip',
'Width': 200, 'Width': 200,
'Height': 220, 'Height': 220,
} }
@ -280,14 +280,14 @@ class ZAZPip(unohelper.Base, XJobExecutor):
args = { args = {
'Type': 'Label', 'Type': 'Label',
'Name': 'lbl_title', 'Name': 'lbl_title',
'Label': 'ZAZ PIP', 'Label': app.NAME + ' v' + app.VERSION,
'Width': 50, 'Width': 100,
'Height': 15, 'Height': 15,
'Border': 1, 'Border': 1,
'Align': 1, 'Align': 1,
'VerticalAlign': 1, 'VerticalAlign': 1,
'Step': 10, 'Step': 10,
'FontHeight': 15, 'FontHeight': 12,
} }
dialog.add_control(args) dialog.add_control(args)
dialog.center(dialog.lbl_title, y=5) dialog.center(dialog.lbl_title, y=5)
@ -311,6 +311,7 @@ class ZAZPip(unohelper.Base, XJobExecutor):
'Align': 1, 'Align': 1,
'VerticalAlign': 1, 'VerticalAlign': 1,
'Step': 10, 'Step': 10,
'FontHeight': 11,
} }
dialog.add_control(args) dialog.add_control(args)
dialog.center(dialog.lbl_python, y=25) dialog.center(dialog.lbl_python, y=25)