Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-09-03 13:50:51 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-09-03 14:42:44 (GMT)
commitbb7effae4d4aad168f67dac316697f401c2d51f5 (patch)
tree4e39dfd6310cf1e59dc6bbb83a972a3efb6ee590
parentda01c80908398c411461a0b5b86469ad83179035 (diff)
Add margin to buttons
-rw-r--r--Widgets.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Widgets.py b/Widgets.py
index 90c37ae..b591e02 100644
--- a/Widgets.py
+++ b/Widgets.py
@@ -732,15 +732,18 @@ class PollCanvas(Gtk.Box):
if poll.active and not previewing:
button = Gtk.Button(_("Vote"))
button.connect('clicked', poll.activity.button_vote_cb)
+ button.props.margin = 10
tabla.attach(button, 0, 1, row, row + 1)
elif previewing:
button = Gtk.Button(_("Edit Poll"))
button.connect('clicked', poll.activity.button_edit_clicked)
+ button.props.margin = 10
tabla.attach(button, 0, 1, row, row + 1)
button = Gtk.Button(_("Save Poll"))
button.connect('clicked', self._button_save_cb)
+ button.props.margin = 10
tabla.attach(button, 1, 2, row, row + 1)
self.show_all()