comparison src/browser/sat_browser/menu.py @ 805:f2a76ee020f6

browser_side: improve CSS alignements of the dialogs' widgets
author souliane <souliane@mailoo.org>
date Sat, 12 Dec 2015 12:50:43 +0100
parents 7ebde6d1a4bd
children 0fd4b81972c0
comparison
equal deleted inserted replaced
804:1f054ba3245e 805:f2a76ee020f6
147 def gotParams(xml_ui): 147 def gotParams(xml_ui):
148 if not xml_ui: 148 if not xml_ui:
149 return 149 return
150 body = xmlui.create(self.host, xml_ui) 150 body = xmlui.create(self.host, xml_ui)
151 _dialog = dialog.GenericDialog("Parameters", body, options=['NO_CLOSE']) 151 _dialog = dialog.GenericDialog("Parameters", body, options=['NO_CLOSE'])
152 _dialog.addStyleName("parameters")
152 body.setCloseCb(_dialog.close) 153 body.setCloseCb(_dialog.close)
153 _dialog.setSize('80%', '80%')
154 _dialog.show() 154 _dialog.show()
155 self.host.bridge.getParamsUI(profile=C.PROF_KEY_NONE, callback=gotParams) 155 self.host.bridge.getParamsUI(profile=C.PROF_KEY_NONE, callback=gotParams)
156 156
157 def removeItemParams(self): 157 def removeItemParams(self):
158 """Remove the Parameters item from the Settings menu bar.""" 158 """Remove the Parameters item from the Settings menu bar."""