comparison browser_side/menu.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 09e4de9df5b7
children a25aa882e09a
comparison
equal deleted inserted replaced
237:531b8809d1ab 238:dec76d4536ad
301 hpanel = HorizontalPanel() 301 hpanel = HorizontalPanel()
302 hpanel.add(_label) 302 hpanel.add(_label)
303 hpanel.add(_edit) 303 hpanel.add(_edit)
304 _main_panel.add(hpanel) 304 _main_panel.add(hpanel)
305 button_panel = HorizontalPanel() 305 button_panel = HorizontalPanel()
306 button_panel.addStyleName("marginAuto")
306 button_panel.add(Button("Join", onOK)) 307 button_panel.add(Button("Join", onOK))
307 button_panel.add(Button("Cancel", onCancel)) 308 button_panel.add(Button("Cancel", onCancel))
308 _main_panel.add(button_panel) 309 _main_panel.add(button_panel)
309 _dialog = DialogBox(centered=True) 310 _dialog = DialogBox(centered=True)
310 _dialog.setHTML('Group discussions') 311 _dialog.setHTML('Group discussions')