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