From bb7effae4d4aad168f67dac316697f401c2d51f5 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Tue, 03 Sep 2013 13:50:51 +0000 Subject: Add margin to buttons --- 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() -- cgit v0.9.1