Mercurial > libervia-web
comparison browser_side/dialog.py @ 357:2b5503392fbd
browser_side: small fixes for RichTextEditor
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 13 Feb 2014 15:32:59 +0100 |
parents | c417a7acfe44 |
children | 6e38d317bc16 |
comparison
equal
deleted
inserted
replaced
356:b95099a1d11b | 357:2b5503392fbd |
---|---|
253 wid.setWidth('100%') | 253 wid.setWidth('100%') |
254 button_panel = HorizontalPanel() | 254 button_panel = HorizontalPanel() |
255 button_panel.addStyleName("marginAuto") | 255 button_panel.addStyleName("marginAuto") |
256 self.confirm_button = Button("OK", self.onConfirm) | 256 self.confirm_button = Button("OK", self.onConfirm) |
257 button_panel.add(self.confirm_button) | 257 button_panel.add(self.confirm_button) |
258 button_panel.add(Button("Cancel", self.onCancel)) | 258 self.cancel_button = Button("Cancel", self.onCancel) |
259 button_panel.add(self.cancel_button) | |
259 content.add(button_panel) | 260 content.add(button_panel) |
260 self.setHTML(title) | 261 self.setHTML(title) |
261 self.setWidget(content) | 262 self.setWidget(content) |
262 self.prompt = prompt | 263 self.prompt = prompt |
263 | 264 |