Mercurial > libervia-web
diff browser_side/dialog.py @ 238:dec76d4536ad
browser_side: set CSS margin: auto for all button panels
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 11 Oct 2013 15:40:29 +0200 |
parents | fab7aa366576 |
children | a565ce2facc0 |
line wrap: on
line diff
--- a/browser_side/dialog.py Thu Oct 10 18:29:07 2013 +0200 +++ b/browser_side/dialog.py Fri Oct 11 15:40:29 2013 +0200 @@ -62,6 +62,7 @@ self.contacts_list.addChangeListener(self.onChange) content.add(self.contacts_list) button_panel = HorizontalPanel() + button_panel.addStyleName("marginAuto") self.choose_button = Button("Choose", self.onChoose) if (nb_contact): self.choose_button.setEnabled(False) @@ -238,6 +239,7 @@ main_panel.add(add_group_panel) button_panel = HorizontalPanel() + button_panel.addStyleName("marginAuto") button_panel.add(Button(ok_title, self.onOK)) button_panel.add(Button("Cancel", self.onCancel)) main_panel.add(button_panel)