changeset 806:cab7bf950fa0

browser_side (xmlui): center the Save/Cancel buttons of parameters dialog
author souliane <souliane@mailoo.org>
date Tue, 15 Dec 2015 18:33:10 +0100
parents f2a76ee020f6
children 0576fec37be0
files src/browser/sat_browser/xmlui.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/xmlui.py	Sat Dec 12 12:50:43 2015 +0100
+++ b/src/browser/sat_browser/xmlui.py	Tue Dec 15 18:33:10 2015 +0100
@@ -460,6 +460,7 @@
         elif self.type == 'param':
             assert(isinstance(self.children[0][0], TabPanel))
             hpanel = HorizontalPanel()
+            hpanel.setStyleName('marginAuto')
             hpanel.add(Button('Save', self.onSaveParams))
             hpanel.add(Button('Cancel', lambda ignore: self._xmluiClose()))
             self.add(hpanel)